mirror of
https://github.com/tiny-craft/tiny-rdm.git
synced 2025-04-10 16:08:05 +08:00
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…
x
Reference in New Issue
Block a user