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 }