SanHQin 2 달 전
부모
커밋
19a87eb38b
6개의 변경된 파일18개의 추가작업 그리고 15개의 파일을 삭제
  1. 0 0
      dist/index.html
  2. 1 1
      dist/report.html
  3. 0 0
      dist/static/css/chunk-cec631ea.86d309fa.css
  4. 0 0
      dist/static/js/app.66f8fe0e.js
  5. 0 0
      dist/static/js/chunk-cec631ea.e3074cb8.js
  6. 17 14
      src/components/weChatQrcode.vue

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
dist/report.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/css/chunk-cec631ea.86d309fa.css


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/js/app.66f8fe0e.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/js/chunk-cec631ea.e3074cb8.js


+ 17 - 14
src/components/weChatQrcode.vue

@@ -62,21 +62,24 @@ export default {
     // wx.config的配置
     wxConfig(appId, timestamp, nonceStr, signature) {
       const that = this
-
-      const params = {
-        debug: false, // 开启调试模式,
-        appId: appId, // 必填,企业号的唯一标识
-        timestamp: timestamp, // 必填,生成签名的时间戳
-        nonceStr: nonceStr, // 必填,生成签名的随机串
-        signature: signature, // 必填,签名
-        jsApiList: ['scanQRCode', 'checkJsApi'] // 必填,需要使用的JS接口列表
+      try {
+        const params = {
+          debug: false, // 开启调试模式,
+          appId: appId, // 必填,企业号的唯一标识
+          timestamp: timestamp, // 必填,生成签名的时间戳
+          nonceStr: nonceStr, // 必填,生成签名的随机串
+          signature: signature, // 必填,签名
+          jsApiList: ['scanQRCode', 'checkJsApi'] // 必填,需要使用的JS接口列表
+        }
+        wx.config(params)
+        wx.error(function(res) {
+          console.log('测试测试111')
+          that.close()
+          alert('出错了👉' + res.errMsg) // wx.config配置错误,会弹出窗口哪里错误,然后根据微信文档查询即可。
+        })
+      } catch (error) {
+        console.log(error)
       }
-      wx.config(params)
-      wx.error(function(res) {
-        console.log('测试测试111')
-        that.close()
-        alert('出错了👉' + res.errMsg) // wx.config配置错误,会弹出窗口哪里错误,然后根据微信文档查询即可。
-      })
     },
     close() {
       this.show = false

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.