Commit fed4b5b2 by liimin

1

1 parent 8665c529
......@@ -8,13 +8,6 @@
<el-popover
v-if="showPop && menu.isCollapse"
ref="pop"
:append-to-body="true"
:popper-options="{
boundariesElement: 'body',
gpuAcceleration: true,
positionFixed: true,
preventOverflow: true
}"
:reference="reference"
@hide="hide()"
placement="right-start"
......@@ -25,7 +18,7 @@
popper-class="el-submenu-popper-base-left-side-menu"
>
<LeftSideMenuLv2></LeftSideMenuLv2>
</el-popover>
</el-popover>s
</div>
</template>
......@@ -65,6 +58,7 @@ export default {
beforeDestroy() {
this.bus.$off('mouseenter', this.mouseenter)
},
//https://segmentfault.com/a/1190000042463083?utm_source=sf-similar-article
methods: {
mouseenter(reference, onReady) {
this.showPop = false
......@@ -78,7 +72,7 @@ export default {
this.$refs.pop.doShow()
this.$nextTick(() => {
onReady()
this.$nextTick(() => this.$refs.pop.updatePopper())
// this.$nextTick(() => this.$refs.pop.updatePopper())
})
})
})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!