829 fix: 修复上传文件后后端报错导致无法再次提交的bug
parent
6b65e13ccc
commit
b5d107cbb5
|
|
@ -132,7 +132,7 @@ const submitFormSuccess = (response: any) => {
|
|||
/** 上传错误提示 */
|
||||
const submitFormError = (): void => {
|
||||
message.error('上传失败,请您重新上传!')
|
||||
formLoading.value = false
|
||||
resetForm()
|
||||
}
|
||||
|
||||
/** 重置表单 */
|
||||
|
|
|
|||
|
|
@ -115,7 +115,7 @@ const submitFormSuccess = (response: any) => {
|
|||
/** 上传错误提示 */
|
||||
const submitFormError = (): void => {
|
||||
message.error('上传失败,请您重新上传!')
|
||||
formLoading.value = false
|
||||
resetForm()
|
||||
}
|
||||
|
||||
/** 重置表单 */
|
||||
|
|
|
|||
Loading…
Reference in New Issue