fix(editor): content-menu隐藏时不销毁

This commit is contained in:
roymondchen 2022-10-28 17:43:40 +08:00
parent 9fd8385651
commit 723da40bc7

View File

@ -1,5 +1,5 @@
<template>
<div v-if="menuData.length && visible" class="magic-editor-content-menu" ref="menu" :style="menuStyle">
<div v-if="menuData.length" v-show="visible" class="magic-editor-content-menu" ref="menu" :style="menuStyle">
<div>
<ToolButton
v-for="(item, index) in menuData"