Commit 57aa9f73 by 陈玉桐

fix

parent 6114c4a8
...@@ -473,7 +473,6 @@ export default { ...@@ -473,7 +473,6 @@ export default {
wx.getLocalImgData({ wx.getLocalImgData({
localId: res.localIds[0], // 图片的localID localId: res.localIds[0], // 图片的localID
success: function (res) { success: function (res) {
console.log(res.localData)
if (res.localData.substr(0, 5) != 'data:') { if (res.localData.substr(0, 5) != 'data:') {
// me.uploadPic = 'data:image;base64,' + res.localData // me.uploadPic = 'data:image;base64,' + res.localData
...@@ -485,6 +484,7 @@ export default { ...@@ -485,6 +484,7 @@ export default {
me.option.img = res.localData me.option.img = res.localData
me.cropperShow = true me.cropperShow = true
} }
console.log(me.option.img)
} }
}) })
// } // }
......
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