(cherry picked from commit a3d12cc13b1cde5d1d04696048a5e2ed4f9bb2d9)
@@ -90,24 +90,10 @@ export default {
e.target.value = "";
});
},
- beforeDestroy() {
- // this.clear();
- },
methods: {
click() {
this.$el.click();
- clear() {
- this.dataURL && window.URL.revokeObjectURL(this.dataURL);
- this.name = null;
- this.type = null;
- this.size = null;
- this.files = null;
- this.dataURL = null;
- this.base64 = null;
- this.poster = null;
- upload() {},
};
</script>