Commit 806d4bdb by 陈玉桐

test

parent 26c8ac74
...@@ -477,15 +477,13 @@ export default { ...@@ -477,15 +477,13 @@ export default {
// me.uploadPic = 'data:image;base64,' + res.localData // me.uploadPic = 'data:image;base64,' + res.localData
// me.option.img = 'data:image/jpeg;base64,' + res.localData // me.option.img = 'data:image/jpeg;base64,' + res.localData
let URL = me.dataURLtoBlob('data:image/jpeg;base64,' + res.localData) me.option.img = URL.createObjectURL(me.dataURLtoBlob('data:image/jpeg;base64,' + res.localData))
me.option.img = URL.createObjectURL()
me.cropperShow = true me.cropperShow = true
}else{ }else{
// me.uploadPic = res.localData // localData是图片的base64数据,可以用img标签显示 // me.uploadPic = res.localData // localData是图片的base64数据,可以用img标签显示
// me.option.img = res.localData // me.option.img = res.localData
let URL = me.dataURLtoBlob(res.localData) me.option.img = URL.createObjectURL(me.dataURLtoBlob(res.localData))
me.option.img = URL.createObjectURL()
me.cropperShow = true me.cropperShow = true
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment