Merge pull request #10557 from hsm-lv/feat-crud2

feat:动作配置面板reload动作支持选择crud2
This commit is contained in:
hsm-lv 2024-07-01 16:54:14 +08:00 committed by GitHub
commit 43ace7a014
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View File

@ -153,6 +153,11 @@ export class BaseCRUDPlugin extends BasePlugin {
actionLabel: '停止自动刷新',
description: '停止自动刷新'
},
{
actionType: 'reload',
actionLabel: '重新加载',
description: '触发组件数据刷新并重新渲染'
},
...(actions || [])
],
'actionType'

View File

@ -73,7 +73,8 @@ export const DATA_CONTAINER = [
'crud',
'page',
'app',
'chart'
'chart',
'crud2'
];
const MSG_TYPES: {[key: string]: string} = {