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') }}
diff --git a/frontend/src/views/ds/DataTable.vue b/frontend/src/views/ds/DataTable.vue index 5963f0b7..6c3d7335 100644 --- a/frontend/src/views/ds/DataTable.vue +++ b/frontend/src/views/ds/DataTable.vue @@ -77,6 +77,7 @@ const pageInfo = reactive({ }) const handleRelationship = () => { activeRelationship.value = !activeRelationship.value + tableName.value = [] currentTable.value = {} } const singleDragStartD = (e: DragEvent, ele: any) => {