Эх сурвалжийг харах

clear inptu value when uploader click

baiyaaaaa 8 жил өмнө
parent
commit
5536efab5c

+ 1 - 0
packages/upload/src/upload.vue

@@ -142,6 +142,7 @@ export default {
     },
     handleClick() {
       if (!this.disabled) {
+        this.$refs.input.value = null;
         this.$refs.input.click();
       }
     }