diff --git a/frontend/src/stores/appearance.ts b/frontend/src/stores/appearance.ts index aaf11484..2093f300 100644 --- a/frontend/src/stores/appearance.ts +++ b/frontend/src/stores/appearance.ts @@ -67,8 +67,8 @@ export const useAppearanceStore = defineStore('appearanceStore', { showDemoTips: false, demoTipsContent: '', fontList: [], - pc_welcome: '', - pc_welcome_desc: '', + pc_welcome: undefined, + pc_welcome_desc: undefined, } }, getters: { diff --git a/frontend/src/views/chat/index.vue b/frontend/src/views/chat/index.vue index 944816c3..4133780e 100644 --- a/frontend/src/views/chat/index.vue +++ b/frontend/src/views/chat/index.vue @@ -145,10 +145,10 @@ > - {{ appearanceStore.pc_welcome }} + {{ appearanceStore.pc_welcome ?? t('qa.greeting') }}
- {{ appearanceStore.pc_welcome_desc }} + {{ appearanceStore.pc_welcome_desc ?? t('qa.hint_description') }}