fix: amis-saas-7145 测试:【组件优化第五批】input-date组件下的获取/失去焦点事件下获取不到事件变量;

Change-Id: I1769a4510c6b9497b07bcf4bbfcd1d99cb42bd6b
This commit is contained in:
zhou999 2022-10-26 14:53:17 +08:00
parent f7251f1f30
commit 94f96bf422

View File

@ -197,12 +197,34 @@ export class DateControlPlugin extends BasePlugin {
{
eventName: 'focus',
eventLabel: '获取焦点',
description: '输入框获取焦点(非内嵌模式)时触发'
description: '输入框获取焦点(非内嵌模式)时触发',
dataSchema: [
{
type: 'object',
properties: {
'event.data.value': {
type: 'string',
title: '时间值'
}
}
}
]
},
{
eventName: 'blur',
eventLabel: '失去焦点',
description: '输入框失去焦点(非内嵌模式)时触发'
description: '输入框失去焦点(非内嵌模式)时触发',
dataSchema: [
{
type: 'object',
properties: {
'event.data.value': {
type: 'string',
title: '时间值'
}
}
}
]
}
];