From 2c08a98f7e85ec7c9376f27a7933e75e44d672f7 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期二, 27 八月 2024 15:52:59 +0800
Subject: [PATCH] ll

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

diff --git a/wechat_staff/pages/login/index.js b/wechat_staff/pages/login/index.js
index ec188bb..d7b0acd 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);
@@ -116,6 +119,7 @@
       }else{
         wx.showToast({
           title: '浣犺繕涓嶆槸璇ョ郴缁熺敤鎴凤紝璇疯仈绯荤浉鍏崇鐞嗗憳娉ㄥ唽',
+          icon: 'none'
         })
       }
     })
@@ -163,7 +167,7 @@
             } 
           })
         } else {
-          wx.navigateTo({
+          wx.reLaunch({
             url: '/pages/login/index',
           })
           wx.hideLoading()
@@ -198,6 +202,7 @@
       }else{
         wx.showToast({
           title: '浣犺繕涓嶆槸璇ョ郴缁熺敤鎴凤紝璇疯仈绯荤浉鍏崇鐞嗗憳娉ㄥ唽',
+          icon: 'none'
         })
       }
 
@@ -258,13 +263,6 @@
    * 鐢熷懡鍛ㄦ湡鍑芥暟--鐩戝惉椤甸潰鍒濇娓叉煋瀹屾垚
    */
   onReady() {
-
-  },
-
-  /**
-   * 鐢熷懡鍛ㄦ湡鍑芥暟--鐩戝惉椤甸潰鏄剧ず
-   */
-  onShow() {
 
   },
 

--
Gitblit v1.9.3