diff --git a/core/core-frontend/src/layout/components/Header.vue b/core/core-frontend/src/layout/components/Header.vue index cd386ebd48..85eea39994 100644 --- a/core/core-frontend/src/layout/components/Header.vue +++ b/core/core-frontend/src/layout/components/Header.vue @@ -146,10 +146,18 @@ onMounted(() => {
- + - + { :base-url="aiBaseUrl" >
-
+
diff --git a/core/core-frontend/src/store/modules/appearance.ts b/core/core-frontend/src/store/modules/appearance.ts index 2333f02119..a755618e4a 100644 --- a/core/core-frontend/src/store/modules/appearance.ts +++ b/core/core-frontend/src/store/modules/appearance.ts @@ -16,6 +16,7 @@ interface AppearanceState { mobileLoginBg?: string help?: string showAi?: string + showCopilot?: string showDoc?: string showAbout?: string bg?: string @@ -43,6 +44,7 @@ export const useAppearanceStore = defineStore('appearanceStore', { help: '', showDoc: '0', showAi: '0', + showCopilot: '0', showAbout: '0', bg: '', login: '', @@ -133,6 +135,9 @@ export const useAppearanceStore = defineStore('appearanceStore', { getShowAi(): boolean { return isBtnShow(this.showAi) }, + getShowCopilot(): boolean { + return isBtnShow(this.showCopilot) + }, getShowDoc(): boolean { return isBtnShow(this.showDoc) }, @@ -203,6 +208,7 @@ export const useAppearanceStore = defineStore('appearanceStore', { this.mobileLoginBg = data.mobileLoginBg this.help = data.help this.showAi = data.showAi + this.showCopilot = data.showCopilot this.showDoc = data.showDoc this.showAbout = data.showAbout this.navigateBg = data.navigateBg diff --git a/de-xpack b/de-xpack index f46e65216a..df9b8715f2 160000 --- a/de-xpack +++ b/de-xpack @@ -1 +1 @@ -Subproject commit f46e65216a0c0f76cb37a19d8647620ec1b6c8f1 +Subproject commit df9b8715f2d7896813b9591dc34895f8acff912f