diff --git a/packages/amis-editor/src/renderer/event-control/helper.tsx b/packages/amis-editor/src/renderer/event-control/helper.tsx index 57df3e9af..9d6462a84 100644 --- a/packages/amis-editor/src/renderer/event-control/helper.tsx +++ b/packages/amis-editor/src/renderer/event-control/helper.tsx @@ -3312,7 +3312,7 @@ export const getEventControlConfig = ( } // 不加回来可能数据会丢失 - ['drawer', 'dialog', 'args'].forEach(key => { + ['drawer', 'dialog', 'args', 'preventDefault'].forEach(key => { action[key] = action[key] ?? actionData?.[key]; });