mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
fix: 修复右击菜单后报错 (#10121)
This commit is contained in:
parent
7a95f404a4
commit
a3bb852ccd
@ -421,6 +421,7 @@ export default class Editor extends Component<EditorProps> {
|
||||
// 右键菜单
|
||||
@autobind
|
||||
async handleContextMenu(e: React.MouseEvent<HTMLElement>) {
|
||||
e.persist();
|
||||
await closeContextMenus();
|
||||
let targetId: string = '';
|
||||
let region = '';
|
||||
|
Loading…
Reference in New Issue
Block a user