mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-04 04:48:32 +08:00
Merge pull request #10555 from hsm-lv/feat-crud2-action
feat:动作配置面板reload动作支持选择crud2
This commit is contained in:
commit
54aa915c96
@ -153,6 +153,11 @@ export class BaseCRUDPlugin extends BasePlugin {
|
|||||||
actionLabel: '停止自动刷新',
|
actionLabel: '停止自动刷新',
|
||||||
description: '停止自动刷新'
|
description: '停止自动刷新'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
actionType: 'reload',
|
||||||
|
actionLabel: '重新加载',
|
||||||
|
description: '触发组件数据刷新并重新渲染'
|
||||||
|
},
|
||||||
...(actions || [])
|
...(actions || [])
|
||||||
],
|
],
|
||||||
'actionType'
|
'actionType'
|
||||||
|
@ -73,7 +73,8 @@ export const DATA_CONTAINER = [
|
|||||||
'crud',
|
'crud',
|
||||||
'page',
|
'page',
|
||||||
'app',
|
'app',
|
||||||
'chart'
|
'chart',
|
||||||
|
'crud2'
|
||||||
];
|
];
|
||||||
|
|
||||||
const MSG_TYPES: {[key: string]: string} = {
|
const MSG_TYPES: {[key: string]: string} = {
|
||||||
|
Loading…
Reference in New Issue
Block a user