crud修改数据之后,点击保存后,提示一直停留在页面不消失。
sdk
amis schema
code here...
qoefvg9y1#
无法复现,能否提供问题 schema?
b0zn9rqh2#
{ "type": "page", "body": { "type": "tabs", "tabs": [ { "title": "动态设置", "subTitle": "返回表格数据的同时返回列信息", "body": [ { "type": "crud", "quickSaveApi": "post:/boss/custom-api/set-platform-quantity?isDynamic=1", "api": "get:/boss/custom-api/set-platform-quantity?isDynamic=1", "pageField": "_page", "syncLocation": false, "defaultParams": { "perPage": 20 }, "headerToolbar": [ { "label": "同步静态设置", "type": "button", "actionType": "ajax", "level": "primary", "confirmText": "是否将当前设置数值与静态设置同步", "api": "post:/boss/custom-api/set-platform-quantity?isSync=1" } ], "filter": { "title": null, "controls": [ { "label": "姓名", "type": "text", "name": "__name", "clearable": true }, { "label": "角色", "type": "select", "size": "md", "source": "/boss/custom-data/23/list?status=1&_from=getOptions&fields={id%2Cname}&roleGroup=岗位", "labelField": "name", "valueField": "id", "name": "__roleId", "clearable": true }, { "label": "部门", "type": "nested-select", "cascade": true, "size": "md", "hideNodePathLabel": false, "source": "/boss/custom-data/22/list?status=1&_from=getOptions&fields={id,name}", "multiple": false, "labelField": "name", "valueField": "id", "name": "__deptId", "clearable": true } ], "actions": [ { "type": "button", "actionType": "clear", "label": "清空", "level": "light" }, { "type": "submit", "label": "搜索", "level": "primary" } ] } } ] }, { "title": "静态设置", "subTitle": "返回表格数据的同时返回列信息", "body": [ { "type": "crud", "quickSaveApi": "post:/boss/custom-api/set-platform-quantity?isDynamic=0", "api": "get:/boss/custom-api/set-platform-quantity?isDynamic=0", "pageField": "_page", "syncLocation": false, "defaultParams": { "perPage": 20 }, "headerToolbar": [], "filter": { "title": null, "controls": [ { "label": "姓名", "type": "text", "name": "__name", "clearable": true }, { "label": "角色", "type": "select", "size": "md", "source": "/boss/custom-data/23/list?status=1&_from=getOptions&fields={id%2Cname}&roleGroup=岗位", "labelField": "name", "valueField": "id", "name": "__roleId", "clearable": true }, { "label": "部门", "type": "nested-select", "cascade": true, "size": "md", "hideNodePathLabel": false, "source": "/boss/custom-data/22/list?status=1&_from=getOptions&fields={id,name}", "multiple": false, "labelField": "name", "valueField": "id", "name": "__deptId", "clearable": true } ], "actions": [ { "type": "button", "actionType": "clear", "label": "清空", "level": "light" }, { "type": "submit", "label": "搜索", "level": "primary" } ] } } ] } ] } }
数据源需要替换一下
2条答案
按热度按时间qoefvg9y1#
无法复现,能否提供问题 schema?
b0zn9rqh2#
无法复现,能否提供问题 schema?
数据源需要替换一下