From 12b8f99dbd0fc5dbde12b1edb9fee71d0073c9ef Mon Sep 17 00:00:00 2001 From: junjun Date: Tue, 17 Dec 2024 11:40:59 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E6=A1=8C=E9=9D=A2=E7=89=88?= =?UTF-8?q?=E9=9A=90=E8=97=8F=E5=88=86=E4=BA=AB=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../core-frontend/src/views/data-visualization/PreviewHead.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/core-frontend/src/views/data-visualization/PreviewHead.vue b/core/core-frontend/src/views/data-visualization/PreviewHead.vue index 5ff4851a41..3c8dd436ad 100644 --- a/core/core-frontend/src/views/data-visualization/PreviewHead.vue +++ b/core/core-frontend/src/views/data-visualization/PreviewHead.vue @@ -20,6 +20,7 @@ import { useEmitt } from '@/hooks/web/useEmitt' import { useShareStoreWithOut } from '@/store/modules/share' import { exportPermission } from '@/utils/utils' import { useCache } from '@/hooks/web/useCache' +import { isDesktop } from '@/utils/ModelUtil' const shareStore = useShareStoreWithOut() const { wsCache } = useCache('localStorage') @@ -39,7 +40,7 @@ const preview = () => { } const isDataEaseBi = computed(() => appStore.getIsDataEaseBi) const isIframe = computed(() => appStore.getIsIframe) -const shareDisable = computed(() => shareStore.getShareDisable) +const shareDisable = computed(() => shareStore.getShareDisable || isDesktop()) const exportPermissions = computed(() => exportPermission(dvInfo.value['weight'], dvInfo.value['ext']) )