Commit 6ea47fe4 by liimin

2

1 parent 1c080cc8
...@@ -49,11 +49,9 @@ export default { ...@@ -49,11 +49,9 @@ export default {
}, },
methods: { methods: {
mouseenter(reference, onReady) { mouseenter(reference, onReady) {
// this.showPop = false this.showPop = false
console.log('reference', reference) this.$nextTick(() => {
console.log('this', this.reference)
this.reference = reference this.reference = reference
console.log('this after', this.reference)
this.$nextTick(() => { this.$nextTick(() => {
// 等待显示的popover销毁后再 重新渲染新的popover // 等待显示的popover销毁后再 重新渲染新的popover
this.showPop = true this.showPop = true
...@@ -66,9 +64,10 @@ export default { ...@@ -66,9 +64,10 @@ 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!