mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 10:38:16 +08:00
fix: 修复动作配置会删除 preventDefault 属性的问题
This commit is contained in:
parent
3d07dd2870
commit
6774bf2f6d
@ -3312,7 +3312,7 @@ export const getEventControlConfig = (
|
||||
}
|
||||
|
||||
// 不加回来可能数据会丢失
|
||||
['drawer', 'dialog', 'args'].forEach(key => {
|
||||
['drawer', 'dialog', 'args', 'preventDefault'].forEach(key => {
|
||||
action[key] = action[key] ?? actionData?.[key];
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user