fix: context menu in the browser tree
This commit is contained in:
parent
c7c647d728
commit
2e28c1b44b
|
@ -496,8 +496,8 @@ const nodeProps = ({ option }) => {
|
|||
return
|
||||
}
|
||||
contextMenuParam.show = false
|
||||
contextMenuParam.options = markRaw(menuOptions[option.type] || [])
|
||||
nextTick().then(() => {
|
||||
contextMenuParam.options = markRaw(menuOptions[option.type] || [])
|
||||
contextMenuParam.x = e.clientX
|
||||
contextMenuParam.y = e.clientY
|
||||
contextMenuParam.show = true
|
||||
|
|
Loading…
Reference in New Issue