From b2d360d9113b6955287108ca9e90d76a1f3c1419 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期日, 29 九月 2024 15:05:11 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/zbomyoujia

---
 wechat_staff/utils/request.js |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/wechat_staff/utils/request.js b/wechat_staff/utils/request.js
index 8751ff4..6d6471a 100644
--- a/wechat_staff/utils/request.js
+++ b/wechat_staff/utils/request.js
@@ -3,7 +3,7 @@
 export function request(options) {
   let loading = options.loading || '1' // 榛樿鍊�1鏄剧ず锛屽惁鍒欎笉鏄剧ず
   if (loading == '1') {
-    wx.showLoading()
+    wx.showLoading({mask: true})
     number++
   }
   return new Promise(resolve=> {
@@ -23,8 +23,8 @@
           if (res.data.code && (res.data.code == 5112 || res.data.code == 5111)) {
             if(options.data && options.data.goLogin){
               console.log("==================")
-              wx.navigateTo({
-                        url: '/pages/login/index',
+              wx.reLaunch({
+                url: '/pages/login/index',
               })
             } 
           } 

--
Gitblit v1.9.3