From 3eb46dfdc8eef8ffc938858a2ed66949de1f93ea Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Wed, 21 Aug 2024 15:10:26 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=B5=8C=E5=85=A5=E5=BC=8F):=20=E5=B5=8C?= =?UTF-8?q?=E5=85=A5=E5=BC=8F=E5=9C=BA=E6=99=AF=E4=B8=8B=EF=BC=8Ctitle?= =?UTF-8?q?=E6=97=A0=E6=95=88=EF=BC=8C=E4=BD=BF=E7=94=A8=E7=AC=AC=E4=B8=89?= =?UTF-8?q?=E6=96=B9=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../v-query/QueryConditionConfiguration.vue | 8 +++++++- core/core-frontend/src/store/modules/appearance.ts | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/core/core-frontend/src/custom-component/v-query/QueryConditionConfiguration.vue b/core/core-frontend/src/custom-component/v-query/QueryConditionConfiguration.vue index 00318fc22d..456ed034ab 100644 --- a/core/core-frontend/src/custom-component/v-query/QueryConditionConfiguration.vue +++ b/core/core-frontend/src/custom-component/v-query/QueryConditionConfiguration.vue @@ -960,8 +960,14 @@ const init = (queryId: string) => { .then(([dq, p]) => { dq.filter(ele => !!ele).forEach(ele => { ele.activelist = 'dimensionList' - ele.fields.parameterList = p.filter(itx => itx.datasetGroupId === ele.id) + ele.fields.parameterList = p.filter( + itx => itx.datasetGroupId === ele.id && !itx.params?.length + ) ele.hasParameter = !!ele.fields.parameterList.length + ele.fields.dimensionList = (ele.fields.dimensionList || []).filter( + itx => !itx.params?.length + ) + ele.fields.quotaList = (ele.fields.quotaList || []).filter(itx => !itx.params?.length) datasetMap[ele.id] = ele }) fields.value = datasetFieldList.value diff --git a/core/core-frontend/src/store/modules/appearance.ts b/core/core-frontend/src/store/modules/appearance.ts index fc0f50a600..31c94c3f02 100644 --- a/core/core-frontend/src/store/modules/appearance.ts +++ b/core/core-frontend/src/store/modules/appearance.ts @@ -223,12 +223,12 @@ export const useAppearanceStore = defineStore('appearanceStore', { this.name = data.name this.foot = data.foot this.footContent = data.footContent + if (isDataEaseBi) return if (this.name) { document.title = this.name } else { document.title = 'DataEase' } - if (isDataEaseBi) return const link = document.querySelector('link[rel="icon"]') if (link) { if (this.web) {