Commit fec489ec authored by baiyaaaaa's avatar baiyaaaaa Committed by 杨奕

fix upload can't select the same file

parent beac09e5
...@@ -60,6 +60,7 @@ export default { ...@@ -60,6 +60,7 @@ export default {
if (!files) return; if (!files) return;
this.uploadFiles(files); this.uploadFiles(files);
this.$refs.input.value = null;
}, },
uploadFiles(files) { uploadFiles(files) {
let postFiles = Array.prototype.slice.call(files); let postFiles = Array.prototype.slice.call(files);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment