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