fix(UserImportForm): 🐞 add nextTick to resetForm

This commit is contained in:
AhJindeg 2024-04-10 18:09:43 +08:00
parent f6e4753b34
commit 4c15e6675a

View File

@ -115,9 +115,10 @@ const submitFormError = (): void => {
}
/** 重置表单 */
const resetForm = () => {
const resetForm = async (): Promise<void> => {
//
formLoading.value = false
await nextTick()
uploadRef.value?.clearFiles()
}