fix: 修复上传文件后后端报错导致无法再次提交的bug
parent
6b28dba11b
commit
9e4e565226
|
|
@ -87,7 +87,7 @@ const emits = defineEmits(['success'])
|
||||||
const submitFormSuccess = (response: any) => {
|
const submitFormSuccess = (response: any) => {
|
||||||
if (response.code !== 0) {
|
if (response.code !== 0) {
|
||||||
message.error(response.msg)
|
message.error(response.msg)
|
||||||
formLoading.value = false
|
resetForm()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
// 拼接提示语
|
// 拼接提示语
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue