|
@@ -166,7 +166,7 @@ export default {
|
|
|
// needResult: 0, // 默认为0,扫描结果由微信处理,1则直接返回扫描结果,
|
|
|
// scanType: ['qrCode', 'barCode'], // 可以指定扫二维码还是一维码,默认二者都有
|
|
|
success: (res) => {
|
|
|
- // console.log('H5页面扫码获取到的参数——成功res2', res);
|
|
|
+ console.log('H5页面扫码获取到的参数——成功res2', res);
|
|
|
// let path = res.resultStr.replace(/.*([a-z0-9]{6}&type)/g, '8b$1')
|
|
|
// const regex = /(\w+)&type=(\w+)/;
|
|
|
// const match = path.match(regex);
|