From 692cbb4931e78c5b7d54ee1c9c616cd842c95843 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Tue, 25 Jun 2024 17:25:21 +0800 Subject: [PATCH] =?UTF-8?q?style(X-Pack):=20=E5=A4=96=E8=A7=82=E9=85=8D?= =?UTF-8?q?=E7=BD=AE-=E7=BD=91=E7=AB=99=E5=90=8D=E7=A7=B0=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E5=90=8E=E5=88=B7=E6=96=B0=E9=A1=B5=E9=9D=A2=E4=BC=9A?= =?UTF-8?q?=E9=97=AA=E7=8E=B0DataEase?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/index.html | 2 +- core/core-frontend/src/store/modules/app.ts | 2 +- core/core-frontend/src/store/modules/appearance.ts | 4 ++++ de-xpack | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/core/core-frontend/index.html b/core/core-frontend/index.html index 96958cb56f..946a05d659 100644 --- a/core/core-frontend/index.html +++ b/core/core-frontend/index.html @@ -4,7 +4,7 @@ - DataEase +
diff --git a/core/core-frontend/src/store/modules/app.ts b/core/core-frontend/src/store/modules/app.ts index 01af127df8..e922b1f92a 100644 --- a/core/core-frontend/src/store/modules/app.ts +++ b/core/core-frontend/src/store/modules/app.ts @@ -19,7 +19,7 @@ export const useAppStore = defineStore('app', { return { size: true, // 尺寸图标 pageLoading: false, // 路由跳转loading - title: 'DataEase', + title: '', dekey: 'DataEaseKey', isDataEaseBi: false, isIframe: false, diff --git a/core/core-frontend/src/store/modules/appearance.ts b/core/core-frontend/src/store/modules/appearance.ts index f7954baf59..fc0f50a600 100644 --- a/core/core-frontend/src/store/modules/appearance.ts +++ b/core/core-frontend/src/store/modules/appearance.ts @@ -152,10 +152,12 @@ export const useAppearanceStore = defineStore('appearanceStore', { if (this.loaded) { return } + document.title = '' const res = await uiLoadApi() this.loaded = true const resData = res.data if (!resData?.length) { + document.title = 'DataEase' return } const data: AppearanceState = { loaded: false, community: true } @@ -223,6 +225,8 @@ export const useAppearanceStore = defineStore('appearanceStore', { this.footContent = data.footContent if (this.name) { document.title = this.name + } else { + document.title = 'DataEase' } if (isDataEaseBi) return const link = document.querySelector('link[rel="icon"]') diff --git a/de-xpack b/de-xpack index 68a35e7897..2e3a15d625 160000 --- a/de-xpack +++ b/de-xpack @@ -1 +1 @@ -Subproject commit 68a35e78970ba610a3d596695b7e8017b6e31721 +Subproject commit 2e3a15d62588fe0b3b23f2f78c67f78a2653432a