fix:作业上传附件,取消后不能再次上传问题

This commit is contained in:
wyx
2023-03-30 10:03:15 +08:00
parent 54a063f9e1
commit 10d78ac671
2 changed files with 3 additions and 2 deletions

View File

@@ -79,7 +79,8 @@ function handleChange(file) {
}
function remove(i) {
files.value.splice(i, 1)
files.value.splice(i, 1);
files.value = [];
console.log(imageRef)
}