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 +})