fix: model_type change reset model_param_form
This commit is contained in:
parent
7df98e2865
commit
d42442052b
@ -331,6 +331,7 @@ const open = (provider: Provider) => {
|
|||||||
const list_base_model = (model_type: any, change?: boolean) => {
|
const list_base_model = (model_type: any, change?: boolean) => {
|
||||||
if (change) {
|
if (change) {
|
||||||
base_form_data.value.model_name = ''
|
base_form_data.value.model_name = ''
|
||||||
|
base_form_data.value.model_params_form = []
|
||||||
}
|
}
|
||||||
if (providerValue.value) {
|
if (providerValue.value) {
|
||||||
ModelApi.listBaseModel(providerValue.value.provider, model_type, base_model_loading).then(
|
ModelApi.listBaseModel(providerValue.value.provider, model_type, base_model_loading).then(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user