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],
|
size: [0, 0],
|
||||||
event: this.$root.menuPanel.event,
|
event: this.$root.menuPanel.event,
|
||||||
direction: "down",
|
direction: "down",
|
||||||
elStyle: {}
|
elStyle: {
|
||||||
|
opacity: 0
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
@ -106,6 +108,7 @@
|
||||||
style["top"] = (this.event.clientY - this.size[1]) + "px";
|
style["top"] = (this.event.clientY - this.size[1]) + "px";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
style["opacity"] = 1
|
||||||
this.elStyle = style;
|
this.elStyle = style;
|
||||||
},
|
},
|
||||||
getItemStyle(item) {
|
getItemStyle(item) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue