From 2fdda922b8c3741bb68d863dd2d1c4d1934959af Mon Sep 17 00:00:00 2001 From: ulleo Date: Wed, 11 Jun 2025 18:07:42 +0800 Subject: [PATCH] feat: chat select datasource --- frontend/src/views/chat/WelcomeBlock.vue | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/frontend/src/views/chat/WelcomeBlock.vue b/frontend/src/views/chat/WelcomeBlock.vue index 6be01603..d9afc507 100644 --- a/frontend/src/views/chat/WelcomeBlock.vue +++ b/frontend/src/views/chat/WelcomeBlock.vue @@ -8,10 +8,10 @@ import {useI18n} from 'vue-i18n' const {t} = useI18n() const props = withDefaults(defineProps<{ - modelValue?: number - currentChat: ChatInfo - }>(), - {} + modelValue?: number + currentChat: ChatInfo + }>(), + {} ) const dsList = ref>([]) @@ -67,7 +67,7 @@ function selectDsInDialog(ds: any) { innerDs.value = ds.id } -function comfirmSelectDs() { +function confirmSelectDs() { if (innerDs.value) { emits("update:modelValue", innerDs.value) dialogVisible.value = false @@ -114,7 +114,7 @@ onMounted(() => { -
@@ -127,7 +127,7 @@ onMounted(() => {