From aa421498026c14c296894fcae9d6d637b91f2534 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Thu, 21 Mar 2024 15:20:15 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=B5=8C=E5=85=A5=E5=BC=8F):=20=E4=BB=AA?= =?UTF-8?q?=E8=A1=A8=E6=9D=BF/=E6=95=B0=E6=8D=AE=E5=A4=A7=E5=B1=8F?= =?UTF-8?q?=E8=AE=BE=E8=AE=A1=E5=99=A8=E5=B5=8C=E5=85=A5=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/dashboard/index.vue | 18 +++++++++++++++++- .../src/views/data-visualization/index.vue | 13 +++++++++++-- 2 files changed, 28 insertions(+), 3 deletions(-) diff --git a/core/core-frontend/src/views/dashboard/index.vue b/core/core-frontend/src/views/dashboard/index.vue index 830bd804f1..f264c9b67d 100644 --- a/core/core-frontend/src/views/dashboard/index.vue +++ b/core/core-frontend/src/views/dashboard/index.vue @@ -6,6 +6,7 @@ import findComponent from '../../utils/components' import DvSidebar from '../../components/visualization/DvSidebar.vue' import router from '@/router' import MobileConfigPanel from './MobileConfigPanel.vue' +import { useAppStoreWithOut } from '@/store/modules/app' import { useEmitt } from '@/hooks/web/useEmitt' import DbToolbar from '@/components/dashboard/DbToolbar.vue' import ViewEditor from '@/views/chart/components/editor/index.vue' @@ -47,6 +48,8 @@ const { dvInfo } = storeToRefs(dvMainStore) const dataInitState = ref(false) +const appStore = useAppStoreWithOut() +const isDataEaseBi = computed(() => appStore.getIsDataEaseBi) const state = reactive({ datasetTree: [], @@ -174,7 +177,11 @@ onUnmounted(() => {