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