mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-16 22:36:48 +08:00
fix:作业上传附件,取消后不能再次上传问题
This commit is contained in:
@@ -38,7 +38,7 @@ import {useRoute} from "vue-router/dist/vue-router";
|
|||||||
import {USER_INFO} from "@/api/api";
|
import {USER_INFO} from "@/api/api";
|
||||||
import {IsPhone} from "@/api/utils";
|
import {IsPhone} from "@/api/utils";
|
||||||
|
|
||||||
console.log("版本2.3.4------------");
|
console.log("版本2.3.5------------");
|
||||||
|
|
||||||
const store = useStore();
|
const store = useStore();
|
||||||
const { path } = useRoute();
|
const { path } = useRoute();
|
||||||
|
|||||||
@@ -79,7 +79,8 @@ function handleChange(file) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function remove(i) {
|
function remove(i) {
|
||||||
files.value.splice(i, 1)
|
files.value.splice(i, 1);
|
||||||
|
files.value = [];
|
||||||
console.log(imageRef)
|
console.log(imageRef)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user