wx.scanCode可以拿到扫描的二维码或一维码的图片吗?
wx.scanCode({ onlyFromCamera:false, scanType:['qrCode','barCode','datamatrix','pdf417'], success(res){ if(res.errMsg=="scanCode:ok"){ that.setData({ code:res.result, // res.result === "LSGER5353NW238188" }) } }, 扫描照片为: [图片]