From 45e9b9120b2d7e96f77fc9eab8c5292111aa1c0c Mon Sep 17 00:00:00 2001 From: CaptainB Date: Wed, 16 Oct 2024 14:29:10 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BF=AE=E5=A4=8D=E5=89=8D=E7=AB=AF?= =?UTF-8?q?=E7=BC=96=E8=AF=91=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/components/dynamics-form/DemoConstructor.vue | 2 ++ ui/src/views/application/ApplicationSetting.vue | 2 +- ui/src/views/template/component/ModelCard.vue | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ui/src/components/dynamics-form/DemoConstructor.vue b/ui/src/components/dynamics-form/DemoConstructor.vue index 14ff696c7..a575cbde7 100644 --- a/ui/src/components/dynamics-form/DemoConstructor.vue +++ b/ui/src/components/dynamics-form/DemoConstructor.vue @@ -3,6 +3,7 @@ { } } const form_data = ref({}) +const item = ref({}) const dynamicsFormRef = ref>() diff --git a/ui/src/views/application/ApplicationSetting.vue b/ui/src/views/application/ApplicationSetting.vue index e65355a0a..4c5bb3104 100644 --- a/ui/src/views/application/ApplicationSetting.vue +++ b/ui/src/views/application/ApplicationSetting.vue @@ -400,7 +400,7 @@ type="primary" link @click="openTTSParamSettingDialog" - :disabled="!applicationForm.tts_model_id && form_data.tts_type === 'BROWSER'" + :disabled="!applicationForm.tts_model_id && applicationForm.tts_type === 'BROWSER'" > 设置 diff --git a/ui/src/views/template/component/ModelCard.vue b/ui/src/views/template/component/ModelCard.vue index 40ccb4684..1ab1118fb 100644 --- a/ui/src/views/template/component/ModelCard.vue +++ b/ui/src/views/template/component/ModelCard.vue @@ -214,7 +214,7 @@ const closeInterval = () => { const paramSettingRef = ref>() const openParamSetting = () => { - paramSettingRef.value?.open(props.model) + paramSettingRef.value?.open() } onMounted(() => {