Commit 6f42bbf3 by 陈玉桐

test

parent 15cee3c7
......@@ -477,12 +477,12 @@ export default {
if (res.localData.substr(0, 5) != 'data:') {
// me.uploadPic = 'data:image;base64,' + res.localData
me.imgSrc = 'data:image;base64,' + res.localData
me.option.img = 'data:image;base64,' + res.localData
me.cropperShow = true
}else{
// me.uploadPic = res.localData // localData是图片的base64数据,可以用img标签显示
me.imgSrc = res.localData
me.option.img = res.localData
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