fix: 【模型管理】新建或编辑模型时,API key为空时提示问题

This commit is contained in:
shaohuzhang1 2024-09-23 15:12:51 +08:00 committed by shaohuzhang1
parent 034c2a86d3
commit 2d8422292c

View File

@ -104,7 +104,7 @@ const errMsg = computed(() => {
return props_info.value.err_msg
? props_info.value.err_msg
: isString(props.formfield.label)
? props.formfield.label
? props.formfield.label + '不能为空'
: props.formfield.label.label + '不能为空'
})