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

@@ -38,7 +38,7 @@ import {useRoute} from "vue-router/dist/vue-router";
import {USER_INFO} from "@/api/api";
import {IsPhone} from "@/api/utils";
console.log("版本2.3.4------------");
console.log("版本2.3.5------------");
const store = useStore();
const { path } = useRoute();

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)
}