接口base64
handleFileChange(event) {
this.file = event.target.files[0]
var reader = new FileReader()
reader.onloadend = () => {
this.form.imageData = reader.result
}
if (this.file) {
reader.readAsDataURL(this.file)
}
},
fun() {
this.$refs.fileInput.click()
},