fix(仪表板): 仪表板界面收起左侧tree后进入编辑页面随后退出至预览界面提示仪表板为空

This commit is contained in:
dataeaseShu 2024-03-06 15:37:05 +08:00
parent c4c8b180a9
commit fa618f6fed

View File

@ -8,9 +8,7 @@
:style="{'margin-left': !asideHidden ? 0 : '-' + currentWidth}"
>
<DeArrowSide v-if="!close" @changeSideTreeStatus="changeSideTreeStatus" :style="sideStyle" :isInside="!sideTreeStatus"></DeArrowSide>
<keep-alive>
<slot v-if="sideTreeStatus"/>
</keep-alive>
<slot/>
<de-horizontal-drag-bar
v-if="isSystem"
:type="type"
@ -112,6 +110,12 @@ export default {
&.retract {
width: 0 !important;
min-width: 0 !important;
::v-deep.de-dataset-search, ::v-deep.tree-style {
width: 0 !important;
min-width: 0 !important;
padding: 0;
}
}
}