mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-15 09:21:13 +08:00
fix:修复dialog、transfer事件变量[amis-saas-7150]
Change-Id: I8506108ae46c539c352ac115a7361e08d88c9250
This commit is contained in:
parent
53f9805b81
commit
3e9a58e5f8
@ -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: '弹窗数据'
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
];
|
||||
|
||||
|
@ -74,7 +74,7 @@ export class TabsPlugin extends BasePlugin {
|
||||
{
|
||||
type: 'object',
|
||||
properties: {
|
||||
value: {
|
||||
"event.data.value": {
|
||||
type: 'string',
|
||||
title: '选项卡索引'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user