forked from github/dataease
Merge pull request #7668 from dataease/pr@dev-v2@fix_menu
fix: 修复右键图标后,鼠标点击图层位置,组件处弹出的菜单不会隐藏问题
This commit is contained in:
commit
0c346e4ebf
@ -497,6 +497,10 @@ const handleContextMenu = e => {
|
||||
// 组件处于编辑状态的时候 如富文本 不弹出右键菜单
|
||||
if (!curComponent.value || (curComponent.value && !curComponent.value.editing)) {
|
||||
contextmenuStore.showContextMenu({ top, left, position: 'canvasCore' })
|
||||
const iconDom = document.getElementById('close-button')
|
||||
if (iconDom) {
|
||||
iconDom.click()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user