瀏覽代碼

Merge pull request #523 from tron/lock/release-3.7.0/SCRM-6145

feat(SCRM-6123): 【DE】【C端】【支付宝】临停首页-无牌车缴费页面,点击“扫描进场二维码领取无牌车号牌”,不能调起摄像头4
Tron 1 年之前
父節點
當前提交
c93a700db8
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/pages/parkingFeeV2/mixins/parkingFee.js

+ 2 - 1
src/pages/parkingFeeV2/mixins/parkingFee.js

@@ -889,6 +889,7 @@ export default {
     },
     // 无牌车闸机扫码
     async scanCarCode() {
+      var _this = this
       try {
         const runScanFn = (res) => {
           if (res.scanType && res.scanType == 'QR_CODE') {
@@ -968,7 +969,7 @@ export default {
             console.log('微信扫码结束之后的返回参数', {type: "scanQRCodeOver", options: {imageChannel: "camera", qrCode: "https://crm.kerryplus.com/t-parking?sa_utm=mJ", rawData: "aHR0cHM6Ly9jcm0ua2VycnlwbHVzLmNvbS90LXBhcmtpbmc/c2FfdXRtPW1K", result: "https://crm.kerryplus.com/t-parking?sa_utm=mJ", scanType: "QR", errMsg: "scanCode:ok"}});
               // const sa_utm =  await this.get_sa_utm(options);
               console.log('sa_utm:::', sa_utm)
-              this.getqrcode(options)
+              _this.getqrcode(options)
              
             
             // runScanFn(options);