BUG 26289
This commit is contained in:
@@ -299,9 +299,12 @@ export default {
|
|||||||
|
|
||||||
nodeContextmenu(e, node) {
|
nodeContextmenu(e, node) {
|
||||||
this.isShowMenu = true
|
this.isShowMenu = true
|
||||||
|
let y = e.y + 6
|
||||||
|
if (y + 202 > document.body.clientHeight) {
|
||||||
|
y = y - 202
|
||||||
|
}
|
||||||
this.menuInfo = {
|
this.menuInfo = {
|
||||||
x: e.x + 16,
|
x: e.x + 16, y,
|
||||||
y: e.y + 6,
|
|
||||||
node
|
node
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user