mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-15 09:21:13 +08:00
fix: amis-saas-7145 测试:【组件优化第五批】input-date组件下的获取/失去焦点事件下获取不到事件变量;
Change-Id: I1769a4510c6b9497b07bcf4bbfcd1d99cb42bd6b
This commit is contained in:
parent
f7251f1f30
commit
94f96bf422
@ -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: '时间值'
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user