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