diff --git a/packages/amis-editor-core/src/component/Editor.tsx b/packages/amis-editor-core/src/component/Editor.tsx index 949d5aaedad..c233842263c 100644 --- a/packages/amis-editor-core/src/component/Editor.tsx +++ b/packages/amis-editor-core/src/component/Editor.tsx @@ -421,6 +421,7 @@ export default class Editor extends Component { // 右键菜单 @autobind async handleContextMenu(e: React.MouseEvent) { + e.persist(); await closeContextMenus(); let targetId: string = ''; let region = '';