829 fix: 修复上传文件后后端报错导致无法再次提交的bug

This commit is contained in:
YunaiV
2025-11-22 19:55:44 +08:00
parent 6b65e13ccc
commit b5d107cbb5
2 changed files with 2 additions and 2 deletions

View File

@@ -132,7 +132,7 @@ const submitFormSuccess = (response: any) => {
/** 上传错误提示 */
const submitFormError = (): void => {
message.error('上传失败,请您重新上传!')
formLoading.value = false
resetForm()
}
/** 重置表单 */

View File

@@ -115,7 +115,7 @@ const submitFormSuccess = (response: any) => {
/** 上传错误提示 */
const submitFormError = (): void => {
message.error('上传失败,请您重新上传!')
formLoading.value = false
resetForm()
}
/** 重置表单 */