[Vuejs]-How to sending DOM to Image in server(Vuejs)?

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];
        }

    },

Leave a comment