Commit 2150eb6a authored by sjf1256754123's avatar sjf1256754123

demo

parent f03401ad
...@@ -91,12 +91,8 @@ ...@@ -91,12 +91,8 @@
// 允许从相机和相册扫码 // 允许从相机和相册扫码
wx.scanCode({ wx.scanCode({
success: (res) => { success: (res) => {
console.log(res)
var result = res.result; var result = res.result;
_this.setData({
result: result,
})
} }
}) })
}, },
......
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