From 4a5c9ce4e19589e21d09eff07a2421124f648774 Mon Sep 17 00:00:00 2001
From: zrg <z1873@LAPTOP-EAVL132E>
Date: 星期二, 07 四月 2026 14:38:21 +0800
Subject: [PATCH] 1

---
 WebTM/layuiadmin/Scripts/webConfig.js |   27 +++++++++++++++++++++------
 1 files changed, 21 insertions(+), 6 deletions(-)

diff --git a/WebTM/layuiadmin/Scripts/webConfig.js b/WebTM/layuiadmin/Scripts/webConfig.js
index f3f9ceb..ba9d77a 100644
--- a/WebTM/layuiadmin/Scripts/webConfig.js
+++ b/WebTM/layuiadmin/Scripts/webConfig.js
@@ -6,17 +6,11 @@
   //var WEBURL = "http://localhost:81/API/"           //缈佹稕娑涙湰鍦伴厤缃�
   var WEBURL = "http://localhost:8082/API/"; //寮犵憺骞挎湰鍦伴厤缃�
   // var WEBURL = "http://localhost:81/API/";          //闄堥晲鍝叉湰鍦伴厤缃�
-  // var WEBURL = "http://localhost:8082/API/";        //寮犵憺骞挎湰鍦伴厤缃�
-  var WEBURL = "http://localhost:81/API/"; //闄堥晲鍝叉湰鍦伴厤缃�
   //var WEBURL = "http://localhost:8082/LuBaoAPI/";   //鏉庢灄淇婃湰鍦伴厤缃�
   //var WEBURL = "http://localhost:8080/API/";        //鐜嬩华鏈湴閰嶇疆
   //var WEBURL = "http://localhost:8082/LuBaoAPI/";   //浣欐�濇澃鏈湴閰嶇疆
   //var WEBURL = "http://localhost:8088/ARAPI/";      //浣欐�濇澃鏈湴閰嶇疆(瀹夌憺)
   //var WEBURL = "http://47.96.97.237/API/";          //鏅轰簯鏈嶅姟鍣�
-  /* var WEBURL = "http://localhost:8082/LuBaoAPI/";  //浣欐�濇澃鏈湴閰嶇疆*/
-  //var WEBURL = "http://localhost:81/API/";            // 闄堥晲鍝叉湰鍦伴厤缃�*/
-  //var WEBURL = "http://localhost:8082/LuBaoAPI/";  //鏉庢灄淇婃湰鍦伴厤缃�
-  //var WEBURL = "http://localhost:8088/ARAPI/";      //浣欐�濇澃鏈湴閰嶇疆(瀹夌憺)
   //var WEBURL = "http://61.164.86.218:8099/ABAPI/";  //濂ラ偊
   //var WEBURL = "http://10.1.4.155/API/";            //姹熶赴瀹㈡埛NEW
   //var WEBURL = "http://183.129.128.86:9090/API/";   //鍑礉濂堢壒瀹㈡埛鏈嶅姟鍣ㄥ缃�
@@ -165,4 +159,25 @@
       });
     }
   });
+}
+
+
+// 鍙栨秷鎵�鏈� pending 璇锋眰鐨勫嚱鏁�
+function abortAllPendingRequests(pendingArray) {
+  if (!pendingArray || pendingArray.length === 0) return;
+
+  // 閬嶅巻鎵�鏈夋湭瀹屾垚鐨勮姹傦紝鎵ц abort
+  for (var i = 0; i < pendingArray.length; i++) {
+    try {
+      // jQuery 鐨� jqxhr 瀵硅薄鏀寔 abort() 鏂规硶
+      if (pendingArray[i] && typeof pendingArray[i].abort === 'function') {
+        pendingArray[i].abort();
+      }
+    } catch (e) {
+      // 闃叉 abort 鏃舵姤閿欏鑷翠唬鐮佸崱浣�
+      console.warn('璇锋眰鍙栨秷澶辫触', e);
+    }
+  }
+  // 娓呯┖鏁扮粍
+  pendingArray.length = 0;
 }
\ No newline at end of file

--
Gitblit v1.9.1