From ba4da8d8e8d55153d0ff1c39ebdac30115a066a8 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 09 八月 2024 09:23:08 +0800
Subject: [PATCH] aa

---
 wechat_staff/pages/login/index.js |   12 ++++--------
 1 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/wechat_staff/pages/login/index.js b/wechat_staff/pages/login/index.js
index ec188bb..5f0f27a 100644
--- a/wechat_staff/pages/login/index.js
+++ b/wechat_staff/pages/login/index.js
@@ -56,6 +56,9 @@
       }, 1000)
     })
   },
+  onShow(){
+    wx.hideHomeButton()
+  },
   handleJudge(e) {
     const flag = e.currentTarget.dataset.flag
     console.log(e);
@@ -163,7 +166,7 @@
             } 
           })
         } else {
-          wx.navigateTo({
+          wx.reLaunch({
             url: '/pages/login/index',
           })
           wx.hideLoading()
@@ -258,13 +261,6 @@
    * 鐢熷懡鍛ㄦ湡鍑芥暟--鐩戝惉椤甸潰鍒濇娓叉煋瀹屾垚
    */
   onReady() {
-
-  },
-
-  /**
-   * 鐢熷懡鍛ㄦ湡鍑芥暟--鐩戝惉椤甸潰鏄剧ず
-   */
-  onShow() {
 
   },
 

--
Gitblit v1.9.3