From 8eb8dab140b4f7afaf29f8c0473fdef9c5f678a8 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Tue, 4 Mar 2025 11:09:46 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=95=B0=E6=8D=AE=E5=A4=A7=E5=B1=8F):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=95=B0=E6=8D=AE=E5=A4=A7=E5=B1=8FTab?= =?UTF-8?q?=E5=86=85=E5=9B=BE=E8=A1=A8=E9=A2=84=E8=A7=88=E6=94=BE=E5=A4=A7?= =?UTF-8?q?=E8=83=8C=E6=99=AF=E8=89=B2=E5=8F=A0=E5=8A=A0=E4=B8=8D=E5=87=86?= =?UTF-8?q?=E7=A1=AE=E9=97=AE=E9=A2=98=20#14803?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/visualization/UserViewEnlarge.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/core-frontend/src/components/visualization/UserViewEnlarge.vue b/core/core-frontend/src/components/visualization/UserViewEnlarge.vue index e8eb8fbed4..ad4e70f492 100644 --- a/core/core-frontend/src/components/visualization/UserViewEnlarge.vue +++ b/core/core-frontend/src/components/visualization/UserViewEnlarge.vue @@ -189,13 +189,12 @@ const requestStore = useRequestStoreWithOut() const permissionStore = usePermissionStoreWithOut() let viewInfo = ref>(null) const config = ref(null) -const canvasStyleData = ref(null) const viewContainer = ref(null) const { t } = useI18n() const optType = ref(null) const chartComponentDetails = ref(null) const chartComponentDetails2 = ref(null) -const { dvInfo, editMode, isIframe } = storeToRefs(dvMainStore) +const { dvInfo, editMode, isIframe, canvasStyleData } = storeToRefs(dvMainStore) const exportLoading = ref(false) const sourceViewType = ref() const activeName = ref('left') @@ -312,7 +311,6 @@ const dialogInit = (canvasStyle, view, item, opt, params = { scale: 0.5 }) => { viewInfo.value = deepCopy(view) as DeepPartial viewInfo.value.customStyle.text.show = false config.value = deepCopy(item) - canvasStyleData.value = canvasStyle if (opt === 'details') { if (!viewInfo.value.type?.includes('table')) { assign(viewInfo.value, DETAIL_CHART_ATTR)