Skip to content

Commit

Permalink
fix:解决事件动作面板卡死问题
Browse files Browse the repository at this point in the history
  • Loading branch information
hsm-lv committed Dec 11, 2023
1 parent 460068a commit 8320d97
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion packages/amis-editor/src/renderer/event-control/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,17 @@ export class EventControl extends React.Component<
...item,
actionType: config
}
: config
: Object.defineProperties(config, {
__cmptTreeSource: {
enumerable: false
},
__nodeSchema: {
enumerable: false
},
__subActions: {
enumerable: false
}
})
: item;
})
};
Expand Down

0 comments on commit 8320d97

Please sign in to comment.