From 00a7a61df86db969f2ba61c508d02ba4709ce3d4 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期五, 05 六月 2026 10:09:06 +0800
Subject: [PATCH] 改bug

---
 app/utils/http.interceptor.js |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/app/utils/http.interceptor.js b/app/utils/http.interceptor.js
index b5c4bc4..0444afc 100644
--- a/app/utils/http.interceptor.js
+++ b/app/utils/http.interceptor.js
@@ -1,7 +1,11 @@
 const install = (Vue, vm) => {
+	let arr = [
+		'web/driverInfo/updateLocation',
+		'web/driverInfo/activeOrderCount'
+	]
 	// 璇锋眰鎷︽埅鍣�
 	uni.$u.http.interceptors.request.use((config) => {
-		if (!['web/driverInfo/updateLocation'].includes(config.url)) {
+		if (!arr.includes(config.url)) {
 			uni.showLoading({ title: '鍔犺浇涓�' });
 		}
 		const Headtoken = vm.$store.state.token
@@ -16,8 +20,7 @@
 	
 	// 鍝嶅簲鎷︽埅鍣�
 	uni.$u.http.interceptors.response.use((response) => {
-		console.log(response)
-		if (!['web/driverInfo/updateLocation'].includes(response.config.url)) {
+		if (!arr.includes(response.config.url)) {
 			uni.hideLoading();
 		}
 		// 鏈櫥褰�/鐧诲綍杩囨湡

--
Gitblit v1.9.3