Commit 4cfbdc2d by liimin

2

1 parent 22be9e7d
...@@ -10,10 +10,11 @@ ...@@ -10,10 +10,11 @@
ref="pop" ref="pop"
:append-to-body="true" :append-to-body="true"
:popper-options="{ :popper-options="{
boundariesElement: 'body', boundariesElement: 'viewport',
gpuAcceleration: true, gpuAcceleration: true,
positionFixed: true, positionFixed: true,
preventOverflow: true preventOverflow: true,
removeOnDestroy: true
}" }"
:reference="reference" :reference="reference"
@hide="hide()" @hide="hide()"
...@@ -68,7 +69,6 @@ export default { ...@@ -68,7 +69,6 @@ export default {
methods: { methods: {
mouseenter(reference, onReady) { mouseenter(reference, onReady) {
this.showPop = false this.showPop = false
this.$nextTick(() => {
this.reference = reference this.reference = reference
this.$nextTick(() => { this.$nextTick(() => {
// 等待显示的popover销毁后再 重新渲染新的popover // 等待显示的popover销毁后再 重新渲染新的popover
...@@ -82,7 +82,6 @@ export default { ...@@ -82,7 +82,6 @@ export default {
}) })
}) })
}) })
})
}, },
hide() { hide() {
// this.showPop = false // this.showPop = false
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!