baidu / amis

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

6.4.0版本 input-table组件 某个字段值变化添加事件-组件特性动作-表格编辑框-赋值 #10451

Open sun995046205 opened 2 weeks ago

sun995046205 commented 2 weeks ago

字段变化时 添加事件 组件特性动作-表格编辑框-赋值 会导致页面未响应

sun995046205 commented 2 weeks ago

{ "type": "input-table", "id": "u:hy8f359d6fdcb9", "staticOn": "${_id&&isEdit!= '1'}", "columns": [ { "label": "大大大", "name": "faaa", "type": "text", "quickEdit": { "type": "input-text", "name": "faaa", "editable": true, "id": "u:hyc508591aa697" }, "id": "u:hy500d63537ff3" }, { "label": "fffdss", "name": "aaaa", "type": "text", "quickEdit": { "type": "input-text", "name": "aaaa", "editable": true, "id": "u:hyc2b5b28fab64", "editorPath": "input.base.default", "onEvent": { "change": { "weight": 0, "actions": [ { "componentId": "u:hy13fb3ffa0a22", "ignoreError": false, "actionType": "setValue", "args": { "value": "12345" } } ] } } }, "id": "u:hy5f33c5aabcc7" }, { "label": "hhhhh", "name": "vbbbb", "type": "text", "quickEdit": { "type": "picker", "name": "vbbbb", "editable": true, "id": "u:hy9fcc0b27e898", "modalMode": "dialog", "pickerRowDbClick": true, "strictMode": false, "multiple": true, "options": [ { "label": "123", "value": "123" }, { "label": "46", "value": "46" } ] }, "id": "u:hy24bafe10afb7" } ], "needConfirm": true, "copyable": true, "removable": true, "addable": true, "editable": true, "footerAddBtn": { "label": "新增", "icon": "fa fa-plus", "id": "u:hyf32d7489e572" }, "strictMode": false, "canAccessSuperData": false, "multiple": true, "minLength": 0, "showIndex": true, "selectable": true, "data": [ {} ], "inputTable_name_dialog": "list", "updateColumn": [ { "key": "faaa", "value": "12345" } ], "name": "list", "onEvent": { "change": { "weight": 0, "actions": [ { "componentId": "u:hy8f359d6fdcb9", "groupType": "component", "actionType": "setValue", "args": { "value": [ { "vbbbb": "12345111" } ] } } ] } } }