From 8aa745fd1fc467910765c26d4efea7ad42da80d2 Mon Sep 17 00:00:00 2001 From: ssongliu Date: Thu, 7 Aug 2025 14:19:35 +0800 Subject: [PATCH] fix: fix typos --- frontend/src/views/chat/ChatCreator.vue | 10 +++++----- frontend/src/views/ds/Datasource.vue | 12 ++++++------ frontend/src/views/ds/ParamsForm.vue | 10 +++++----- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/frontend/src/views/chat/ChatCreator.vue b/frontend/src/views/chat/ChatCreator.vue index 02769f97..f0733643 100644 --- a/frontend/src/views/chat/ChatCreator.vue +++ b/frontend/src/views/chat/ChatCreator.vue @@ -20,7 +20,7 @@ const props = withDefaults( const router = useRouter() const searchLoading = ref(false) -const datasourceConfigvVisible = ref(false) +const datasourceConfigVisible = ref(false) const keywords = ref('') const datasourceList = shallowRef([] as any[]) const datasourceListWithSearch = computed(() => { @@ -30,7 +30,7 @@ const datasourceListWithSearch = computed(() => { ) }) const beforeClose = () => { - datasourceConfigvVisible.value = false + datasourceConfigVisible.value = false keywords.value = '' } @@ -55,12 +55,12 @@ const statusLoading = ref(false) function showDs() { listDs() - datasourceConfigvVisible.value = true + datasourceConfigVisible.value = true } function hideDs() { innerDs.value = undefined - datasourceConfigvVisible.value = false + datasourceConfigVisible.value = false } function selectDsInDialog(ds: any) { @@ -126,7 +126,7 @@ defineExpose({ { - datasourceConfigvVisible.value = false + datasourceConfigVisible.value = false } const emit = defineEmits(['refresh']) @@ -15,7 +15,7 @@ const refresh = () => { } const changeActiveStep = (val: any) => { if (val === 0) { - datasourceConfigvVisible.value = false + datasourceConfigVisible.value = false } } const save = () => { @@ -23,7 +23,7 @@ const save = () => { } const open = (item: any) => { - datasourceConfigvVisible.value = true + datasourceConfigVisible.value = true nextTick(() => { datasourceFormRef.value.initForm(item, true) }) @@ -36,7 +36,7 @@ defineExpose({