ソースを参照

Merge pull request #443 from John-Hong/release-3.2.0

Release 3.2.0
John-Hong 1 年間 前
コミット
e88e5f5ee1
1 ファイル変更9 行追加9 行削除
  1. 9 9
      src/pages/parkingFeeV2/parkingFeeMsg.vue

+ 9 - 9
src/pages/parkingFeeV2/parkingFeeMsg.vue

@@ -96,7 +96,7 @@ export default {
     // console.log(this.$route.query);
     this.pageInit()
     try {
-      await initWxJsSdkConfig(['checkJsApi', 'scanQRCode']);
+      // await initWxJsSdkConfig(['checkJsApi', 'scanQRCode']);
     } catch (e) {
       console.log(e)
     }
@@ -167,14 +167,14 @@ export default {
             // scanType: ['qrCode', 'barCode'], // 可以指定扫二维码还是一维码,默认二者都有
             success: (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);
-              const obj = {code: match[1], type: match[2]};
-              this.$store.commit('SET_UNLICENSED_INFO', obj);
-              this.$nextTick(() => {
-                this.qrCodesRule(obj.code);
-              })
+              // let path = res.resultStr.replace(/.*([a-z0-9]{6}&type)/g, '8b$1')
+              // const regex = /(\w+)&type=(\w+)/;
+              // const match = path.match(regex);
+              // const obj = {code: match[1], type: match[2]};
+              // this.$store.commit('SET_UNLICENSED_INFO', obj);
+              // this.$nextTick(() => {
+              //   this.qrCodesRule(obj.code);
+              // })
             },
             error: (res) => {
               console.log('H5页面扫码获取到的参数——失败res', res);