baidu / amis

前端低代码框架,通过 JSON 配置就能生成各种页面。
https://baidu.github.io/amis/
Apache License 2.0
16.49k stars 2.41k forks source link

表格编辑框,先完全删除第2页的数据,然后编辑第1页的数据,第2页会新增1行,这个问题会导致分页功能不能用 #10456

Open dengdamei opened 2 weeks ago

dengdamei commented 2 weeks ago

描述问题:

请用一段清晰简洁的文字描述问题是什么...

截图或视频:

https://github.com/baidu/amis/assets/25976723/418dee3b-9bba-4810-903b-e1ecff8cd062

如何复现(请务必完整填写下面内容):

  1. 你是如何使用 amis 的? 官网测试

  2. amis 版本是什么?请先在最新 beta 版本测试问题是否存在

  3. 粘贴有问题的完整 amis schema 代码: { "type": "page", "title": "官网组件测试", "body": [ { "type": "tpl", "tpl": "这是你刚刚新增的页面。", "wrapperComponent": "", "inline": false, "id": "u:c04efcd167d7" }, { "type": "input-table", "name": "table", "label": "表格表单", "columns": [ { "label": "名称", "name": "name", "quickEdit": { "type": "input-text", "name": "name", "id": "u:eb1b767f1e96" }, "id": "u:bf06c8099ead" }, { "label": "分数", "name": "score", "quickEdit": { "type": "input-number", "name": "score", "id": "u:0ec1168ec30b" }, "id": "u:7f9d39fbd720", "keyboard": true, "step": 1 }, { "label": "等级", "name": "level", "quickEdit": { "type": "select", "name": "level", "id": "u:826c0b7df3c5" }, "id": "u:c7b54c13b2bb" } ], "addable": true, "footerAddBtn": { "label": "新增", "icon": "fa fa-plus", "id": "u:4bb0371d3fdf" }, "strictMode": true, "id": "u:a612dcb2aadb", "minLength": 0, "copyable": true, "editable": true, "removable": true, "needConfirm": false, "perPage": 3 } ], "id": "u:2bf3b16786e1" }

  4. 操作步骤 请简单描述一下复现的操作步骤...