mirror of https://github.com/ElemeFE/element
clear inptu value when uploader click
parent
87813a229c
commit
5536efab5c
|
@ -142,6 +142,7 @@ export default {
|
||||||
},
|
},
|
||||||
handleClick() {
|
handleClick() {
|
||||||
if (!this.disabled) {
|
if (!this.disabled) {
|
||||||
|
this.$refs.input.value = null;
|
||||||
this.$refs.input.click();
|
this.$refs.input.click();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue