From a5b43701b5b10db52ea0a78ffa24f474b1d70432 Mon Sep 17 00:00:00 2001
From: zhaoxiaoqiang <287285524@qq.com>
Date: Thu, 04 Aug 2022 10:48:00 +0800
Subject: [PATCH] 登录修改

---
 src/views/homeIndex/home-index.vue |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/views/homeIndex/home-index.vue b/src/views/homeIndex/home-index.vue
index cbf5e9b..6661b1d 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-07-08 14:55:26
+ * @LastEditTime: 2022-08-04 09:52:23
  * @Description:
 -->
 <template>
@@ -48,8 +48,8 @@
     };
   },
   created() {
-    this.getWXToken();
-
+    console.log(window)
+    // this.getWXToken();
     // 判断微信接口是否支持
     wx.checkJsApi({
       jsApiList: ["checkJsApi", "scanQRCode"], // 需要检测的JS接口列表
@@ -152,8 +152,10 @@
       let _this = this;
       this.checkIsReady().then(() => {
         if (window.android && window.android.fetchQrCode) {
+          console.log(111111)
           window.android.fetchQrCode();
         } else {
+          console.log(wx)
           wx.scanQRCode({
             needResult: 1, // 默认为0,扫描结果由微信处理,1则直接返回扫描结果,
             scanType: ["qrCode", "barCode"], // 可以指定扫二维码还是一维码,默认二者都有

--
Gitblit v1.8.0