From d9beae3929be0f8043850e5e3d9b0a21e66dd178 Mon Sep 17 00:00:00 2001
From: zhaoxiaoqiang <l287285524@qq.com>
Date: Fri, 05 Aug 2022 00:32:39 +0800
Subject: [PATCH] 23

---
 src/views/homeIndex/home-index.vue |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/views/homeIndex/home-index.vue b/src/views/homeIndex/home-index.vue
index b1f36db..4d1fd11 100644
--- a/src/views/homeIndex/home-index.vue
+++ b/src/views/homeIndex/home-index.vue
@@ -2,7 +2,7 @@
  * @Author: 小明丶
  * @Date: 2020-05-20 20:29:47
  * @LastEditors: zxq
- * @LastEditTime: 2022-08-03 18:00:10
+ * @LastEditTime: 2022-08-04 14:55:01
  * @Description:
 -->
 <template>
@@ -48,7 +48,7 @@
     };
   },
   created() {
-    // this.getWXToken();
+    this.getWXToken();
     // 判断微信接口是否支持
     wx.checkJsApi({
       jsApiList: ["checkJsApi", "scanQRCode"], // 需要检测的JS接口列表
@@ -151,7 +151,6 @@
       let _this = this;
       this.checkIsReady().then(() => {
         if (window.android && window.android.fetchQrCode) {
-          console.log(111111)
           window.android.fetchQrCode();
         } else {
           console.log(wx)
@@ -160,7 +159,6 @@
             scanType: ["qrCode", "barCode"], // 可以指定扫二维码还是一维码,默认二者都有
             success: function(res) {
               var result = res.resultStr; // 当needResult 为 1 时,扫码返回的结果
-              console.log(result);
               _this.str = res.resultStr;
               _this.$router.push({
                 path: "/order-handling",

--
Gitblit v1.8.0