From c3aaf28f7316cce12eec007a9f85a96cbcddeec2 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期三, 07 五月 2025 10:34:20 +0800
Subject: [PATCH] 最新版本541200007

---
 pda/utils/service.js |   15 +++++----------
 1 files changed, 5 insertions(+), 10 deletions(-)

diff --git a/pda/utils/service.js b/pda/utils/service.js
index 0253a05..26992f6 100644
--- a/pda/utils/service.js
+++ b/pda/utils/service.js
@@ -5,15 +5,10 @@
 			let token = uni.getStorageSync('token') || null
 			// 鍦ㄧ櫥褰曠殑鏃跺�欓渶瑕佸偍瀛� token uni.setStorageSync("authorization","杩欓噷鏄櫥褰曡幏鍙栫殑token鍊�")
 
-			// uni.showLoading({
-			// 	title:"鍔犺浇涓�..."
-			// })
-			if(!options.hideLoading){
-				uni.showLoading({
-					title: '鍔犺浇涓�',
-					mask: true
-				})
-			}
+			uni.showLoading({
+				title: '鍔犺浇涓�',
+				mask: true
+			})
 			uni.request({
 				url: baseUrl + options.url,
 				data: options.data || {},
@@ -28,7 +23,7 @@
 					// 鎺у埗鍙版樉绀烘暟鎹俊鎭�
 					uni.hideLoading()
 					// 鐧诲綍杩囨湡
-					if (data.code === 5112) {
+					if (data.code === 5112 || data.code === 5111) {
 						setTimeout(() => {
 							uni.showToast({
 								title: data.message,

--
Gitblit v1.9.3