合并代码
This commit is contained in:
@@ -148,7 +148,7 @@ export default defineComponent({
|
||||
cropper.getCropData((data:any) => {
|
||||
// 转换为File对象
|
||||
let file = base64toFile(data,this.cropperFileData.name);
|
||||
this.$emit('handleCropperSuccess',{file:file, fileData:this.cropperFileData})
|
||||
this.$emit('handleCropperSuccess',{file:file, fileData:this.cropperFileData,base64:data})
|
||||
})
|
||||
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user