clear inptu value when uploader click

pull/5461/merge
baiyaaaaa 2017-07-05 17:18:10 +08:00 committed by 杨奕
parent 87813a229c
commit 5536efab5c
1 changed files with 1 additions and 0 deletions

View File

@ -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();
} }
} }