BUG 26289

This commit is contained in:
aixianling
2021-12-31 16:37:13 +08:00
parent 57b048cba0
commit 4f5b1e65aa

View File

@@ -299,9 +299,12 @@ export default {
nodeContextmenu(e, node) {
this.isShowMenu = true
let y = e.y + 6
if (y + 202 > document.body.clientHeight) {
y = y - 202
}
this.menuInfo = {
x: e.x + 16,
y: e.y + 6,
x: e.x + 16, y,
node
}
},