fix upload can't select the same file

pull/4371/merge
baiyaaaaa 2017-04-27 00:58:09 +08:00 committed by 杨奕
parent beac09e5b2
commit fec489ec7b
1 changed files with 1 additions and 0 deletions

View File

@ -60,6 +60,7 @@ export default {
if (!files) return;
this.uploadFiles(files);
this.$refs.input.value = null;
},
uploadFiles(files) {
let postFiles = Array.prototype.slice.call(files);