From cad10bb6a93e5a6106de793c4808db2ff389c42c Mon Sep 17 00:00:00 2001 From: shaohuzhang1 <80892890+shaohuzhang1@users.noreply.github.com> Date: Wed, 15 May 2024 16:07:50 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E6=A8=A1=E5=9E=8B,=E5=85=B3=E9=97=AD=E6=97=B6=E6=B8=85?= =?UTF-8?q?=E9=99=A4=E5=8E=86=E5=8F=B2=E6=A8=A1=E5=9E=8B=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=20(#463)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/views/template/component/CreateModelDialog.vue | 1 + ui/src/views/template/component/EditModel.vue | 1 + 2 files changed, 2 insertions(+) diff --git a/ui/src/views/template/component/CreateModelDialog.vue b/ui/src/views/template/component/CreateModelDialog.vue index d82240314..c342d43c2 100644 --- a/ui/src/views/template/component/CreateModelDialog.vue +++ b/ui/src/views/template/component/CreateModelDialog.vue @@ -214,6 +214,7 @@ const close = () => { base_form_data.value = { name: '', model_type: '', model_name: '' } credential_form_data.value = {} model_form_field.value = [] + base_model_list.value = [] dialogVisible.value = false } const submit = () => { diff --git a/ui/src/views/template/component/EditModel.vue b/ui/src/views/template/component/EditModel.vue index d33334467..d506f041c 100644 --- a/ui/src/views/template/component/EditModel.vue +++ b/ui/src/views/template/component/EditModel.vue @@ -218,6 +218,7 @@ const close = () => { dynamicsFormRef.value?.ruleFormRef?.resetFields() credential_form_data.value = {} model_form_field.value = [] + base_model_list.value = [] dialogVisible.value = false }