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