mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-15 17:31:18 +08:00
[amis-saas-7150]:补充抽屉事件变量
Change-Id: I33c9cb924b542cd2a2fcc3ddbf5eed95ee10675d
This commit is contained in:
parent
94f96bf422
commit
b0d31df615
@ -57,12 +57,34 @@ export class DrawerPlugin extends BasePlugin {
|
||||
{
|
||||
eventName: 'confirm',
|
||||
eventLabel: '确认',
|
||||
description: '点击抽屉确认按钮时触发'
|
||||
description: '点击抽屉确认按钮时触发',
|
||||
dataSchema: [
|
||||
{
|
||||
type: 'object',
|
||||
properties: {
|
||||
'event.data': {
|
||||
type: 'object',
|
||||
title: '抽屉数据'
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
eventName: 'cancel',
|
||||
eventLabel: '取消',
|
||||
description: '点击抽屉取消按钮时触发'
|
||||
description: '点击抽屉取消按钮时触发',
|
||||
dataSchema: [
|
||||
{
|
||||
type: 'object',
|
||||
properties: {
|
||||
'event.data': {
|
||||
type: 'object',
|
||||
title: '抽屉数据'
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user