fix(仪表板): 仪表板复用缩放按钮显示不正确

This commit is contained in:
dataeaseShu 2024-03-05 17:46:58 +08:00
parent d9a796b9b1
commit 2e4aff1a74
2 changed files with 8 additions and 0 deletions

View File

@ -11,6 +11,7 @@
v-if="dialogShow"
ref="multiplexingPreviewShowRef"
class="multiplexing-area"
no-close
show-position="multiplexing"
></dashboard-preview-show>
<template #footer>

View File

@ -38,6 +38,11 @@ const props = defineProps({
required: false,
type: String,
default: 'preview'
},
noClose: {
required: false,
type: Boolean,
default: false
}
})
@ -156,6 +161,7 @@ defineExpose({
<template>
<div class="dv-preview dv-teleport-query">
<ArrowSide
v-if="!noClose"
:style="{ left: (sideTreeStatus ? width - 12 : 0) + 'px' }"
@change-side-tree-status="changeSideTreeStatus"
:isInside="!sideTreeStatus"
@ -169,6 +175,7 @@ defineExpose({
:style="{ width: width + 'px' }"
>
<ArrowSide
v-if="!noClose"
:isInside="!sideTreeStatus"
:style="{ left: (sideTreeStatus ? width - 12 : 0) + 'px' }"
@change-side-tree-status="changeSideTreeStatus"