mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
Merge pull request #11249 from 2betop/fix-dialog
fix: 修复动作配置会删除 preventDefault 属性的问题
This commit is contained in:
commit
8eb9a667ee
@ -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