|
|
|
@ -251,7 +251,8 @@ const ClickScan = () => { |
|
|
|
scanType: ['qrCode', 'barCode'], // 可以指定扫二维码还是一维码,默认二者都有 |
|
|
|
success: (res) => { |
|
|
|
// 页面跳转 |
|
|
|
console.log("=========== 扫码返回 ===========", res) |
|
|
|
console.log("=========== 扫码返回 ===========", res); |
|
|
|
handleScanResult(res.resultStr); |
|
|
|
}, |
|
|
|
error: function(res) { |
|
|
|
console.log("错误回调",res) |
|
|
|
|