fixed teleporting
This commit is contained in:
parent
0fbfb42385
commit
25b4ad10cd
1 changed files with 4 additions and 1 deletions
|
@ -48,7 +48,9 @@
|
|||
size: [0, 0],
|
||||
event: this.$root.menuPanel.event,
|
||||
direction: "down",
|
||||
elStyle: {}
|
||||
elStyle: {
|
||||
opacity: 0
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
@ -106,6 +108,7 @@
|
|||
style["top"] = (this.event.clientY - this.size[1]) + "px";
|
||||
}
|
||||
}
|
||||
style["opacity"] = 1
|
||||
this.elStyle = style;
|
||||
},
|
||||
getItemStyle(item) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue