[amis-saas-7150]:补充抽屉事件变量

Change-Id: I33c9cb924b542cd2a2fcc3ddbf5eed95ee10675d
This commit is contained in:
hsm-lv 2022-10-26 15:57:58 +08:00
parent 94f96bf422
commit b0d31df615

View File

@ -57,12 +57,34 @@ export class DrawerPlugin extends BasePlugin {
{ {
eventName: 'confirm', eventName: 'confirm',
eventLabel: '确认', eventLabel: '确认',
description: '点击抽屉确认按钮时触发' description: '点击抽屉确认按钮时触发',
dataSchema: [
{
type: 'object',
properties: {
'event.data': {
type: 'object',
title: '抽屉数据'
}
}
}
]
}, },
{ {
eventName: 'cancel', eventName: 'cancel',
eventLabel: '取消', eventLabel: '取消',
description: '点击抽屉取消按钮时触发' description: '点击抽屉取消按钮时触发',
dataSchema: [
{
type: 'object',
properties: {
'event.data': {
type: 'object',
title: '抽屉数据'
}
}
}
]
} }
]; ];