fix:修复dialog、transfer事件变量[amis-saas-7150]

Change-Id: I8506108ae46c539c352ac115a7361e08d88c9250
This commit is contained in:
pianruijie 2022-09-23 16:49:49 +08:00
parent 53f9805b81
commit 3e9a58e5f8
2 changed files with 25 additions and 3 deletions

View File

@ -56,12 +56,34 @@ export class DialogPlugin 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: '弹窗数据'
}
}
}
]
}
];

View File

@ -74,7 +74,7 @@ export class TabsPlugin extends BasePlugin {
{
type: 'object',
properties: {
value: {
"event.data.value": {
type: 'string',
title: '选项卡索引'
}