mirror of https://github.com/ElemeFE/element
fix upload can't select the same file
parent
beac09e5b2
commit
fec489ec7b
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue