forked from github/dataease
fix(仪表板): 修复编辑状态预览可能出现编辑框未隐藏问题
This commit is contained in:
parent
89f6334f62
commit
87abc9261d
@ -1450,7 +1450,7 @@ defineExpose({
|
||||
></canvas-opt-bar>
|
||||
<!-- 网格线 -->
|
||||
<drag-shadow
|
||||
v-if="infoBox && infoBox.moveItem"
|
||||
v-if="infoBox && infoBox.moveItem && editMode !== 'preview'"
|
||||
:base-height="baseHeight"
|
||||
:base-width="baseWidth"
|
||||
:cur-gap="curGap"
|
||||
|
@ -269,12 +269,15 @@ onUnmounted(() => {
|
||||
>
|
||||
<DbCanvasAttr></DbCanvasAttr>
|
||||
</dv-sidebar>
|
||||
<div v-show="viewEditorShow" style="height: 100%">
|
||||
<div
|
||||
v-show="viewEditorShow"
|
||||
style="height: 100%"
|
||||
:class="{ 'preview-aside': editMode === 'preview' }"
|
||||
>
|
||||
<view-editor
|
||||
:themes="'light'"
|
||||
:view="canvasViewInfo[curComponent ? curComponent.id : 'default']"
|
||||
:dataset-tree="state.datasetTree"
|
||||
:class="{ 'preview-aside': editMode === 'preview' }"
|
||||
></view-editor>
|
||||
</div>
|
||||
<dv-sidebar
|
||||
|
Loading…
Reference in New Issue
Block a user