|
@ -201,7 +201,7 @@ export default { |
|
|
const fileReader = new plus.io.FileReader() |
|
|
const fileReader = new plus.io.FileReader() |
|
|
fileReader.onloadend = (evt) => { |
|
|
fileReader.onloadend = (evt) => { |
|
|
console.log(`文件路径${evt.target.result}`) |
|
|
console.log(`文件路径${evt.target.result}`) |
|
|
// this.data[index].barcodeBase64 = evt.target.result |
|
|
this.data[index].barcodeBase64 = evt.target.result |
|
|
this.generateBase64(index + 1) |
|
|
this.generateBase64(index + 1) |
|
|
} |
|
|
} |
|
|
fileReader.readAsDataURL(file) |
|
|
fileReader.readAsDataURL(file) |
|
|