0๐
imgProfile(event) {
this.image = event.target;
if (this.image.files && this.image.files[0]) {
var reader = new FileReader();
reader.onload = (e) => {
this.imageData = e.target.result;
}
reader.readAsDataURL(this.image.files[0]);
this.SvImage = this.image.files[0];
}
},
- [Vuejs]-How to submit a prefilled form using vue
- [Vuejs]-Browserlist config do not include Map polyfill
Source:stackexchange.com