微信小程式呼叫掃一掃
阿新 • • 發佈:2019-02-07
- //獲取應用例項 var app = getApp()Page({ data: { show: "", },
onLoad: function () { console.log('onLoad') }, click: function () { var that = this; var show; wx.scanCode({ success: (res) => { this.show = "--result:" + res.result + "--scanType:" + res.scanType + "--charSet:"