fix: 修复配置TTS模型参数时必填项没有拦截的问题
--bug=1048068 --user=刘瑞斌 【应用】语音合成模型参数设置了必填,没有填写的参数的时候点确认没有提示 https://www.tapd.cn/57709429/s/1598728
This commit is contained in:
parent
8c2a95eec8
commit
f19a4d9bd2
@ -100,8 +100,12 @@ const reset_default = (model_id: string, application_id?: string) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const submit = async () => {
|
const submit = async () => {
|
||||||
emit('refresh', form_data.value)
|
dynamicsFormRef.value?.validate().then((ok) => {
|
||||||
dialogVisible.value = false
|
if (ok) {
|
||||||
|
emit('refresh', form_data.value)
|
||||||
|
dialogVisible.value = false
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user