现在是2024年9月10日10:33:00 ,这个bug修复了么?
scanCode配置scanType无效scanCode配置scanType无效,已经配置了只能扫一维码,还是会扫到二维码。 [代码]wx.scanCode({[代码] [代码] [代码][代码]onlyFromCamera: [代码][代码]true[代码][代码],[代码] [代码] [代码][代码]scanType: [[代码][代码]'barCode'[代码][代码]],[代码] [代码] [代码][代码]success: [代码][代码]function[代码][代码](json) {[代码] [代码] [代码][代码]if[代码][代码](json.scanType == [代码][代码]'QR_CODE'[代码] [代码]|| json.scanType == [代码][代码]'DATA_MATRIX'[代码] [代码]|| json.scanType == [代码][代码]'WX_CODE'[代码][代码]){[代码] [代码] [代码][代码]console.log([代码][代码]'请扫一维码'[代码][代码]);[代码] [代码] [代码][代码]}[代码][代码]else[代码] [代码]if[代码] [代码](!!json.result) {[代码] [代码] [代码][代码]// 扫码成功[代码] [代码] [代码][代码]console.logt([代码][代码]'成功'[代码][代码]);[代码] [代码] [代码][代码]} [代码][代码]else[代码] [代码]{[代码] [代码] [代码][代码]console.log([代码][代码]'扫码失败'[代码][代码]);[代码] [代码] [代码][代码]}[代码] [代码] [代码][代码]}[代码] [代码] [代码][代码]});[代码]
09-10