From 8bdba6e74b1fcc3b4353e215044da6782c61c4d7 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Fri, 27 Oct 2023 15:16:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=A4=A7=E5=B1=8F=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E7=95=8C=E9=9D=A2=E7=9A=84URL=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/dashboard/DbToolbar.vue | 12 ++++++++++-- .../src/components/data-visualization/DvToolbar.vue | 8 ++++++-- core/core-frontend/src/pages/panel/main.ts | 2 ++ core/core-frontend/src/utils/imgUtils.ts | 4 +++- .../editor/dataset-select/DatasetSelect.vue | 5 +++-- .../src/views/chart/components/editor/index.vue | 8 +++++++- 6 files changed, 31 insertions(+), 8 deletions(-) diff --git a/core/core-frontend/src/components/dashboard/DbToolbar.vue b/core/core-frontend/src/components/dashboard/DbToolbar.vue index 3b94ab0a76..c6fe4756f4 100644 --- a/core/core-frontend/src/components/dashboard/DbToolbar.vue +++ b/core/core-frontend/src/components/dashboard/DbToolbar.vue @@ -2,7 +2,7 @@ import { ElMessage, ElMessageBox } from 'element-plus-secondary' import eventBus from '@/utils/eventBus' import { deepCopy } from '@/utils/utils' -import { nextTick, reactive, ref, computed } from 'vue' +import { nextTick, reactive, ref, computed, onMounted } from 'vue' import { dvMainStoreWithOut } from '@/store/modules/data-visualization/dvMain' import { snapshotStoreWithOut } from '@/store/modules/data-visualization/snapshot' import { storeToRefs } from 'pinia' @@ -299,6 +299,10 @@ const saveLinkageSetting = () => { const onDvNameChange = () => { snapshotStore.recordSnapshotCache() } +const isDataEaseBi = ref(false) +onMounted(() => { + isDataEaseBi.value = !!window.DataEaseBi +})