<input type="file" class="fileImage"
accept="image/png, image/jpeg, image/gif, image/jpg" @change="uploadlicense($event,2)">
uploadlicense(e, num){
var reader = new FileReader()
reader.readAsDataURL(file)
console.log(reader)
}