From 5dfa4aae98c53f1f3d5f8b9fa5308f359bfea104 Mon Sep 17 00:00:00 2001
From: jazz <49930677+jxmanxk@users.noreply.github.com>
Date: 星期五, 04 三月 2022 19:23:41 +0800
Subject: [PATCH] update_202203041923_短信中心列表,短信临时发送

---
 src/utils/http.js |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/src/utils/http.js b/src/utils/http.js
index 0ee0f9d..b820a65 100644
--- a/src/utils/http.js
+++ b/src/utils/http.js
@@ -151,7 +151,11 @@
     // o.baseUrl 鍩烘湰璺緞
     // udData Object锛氬嵆userDefined Data 鐢ㄦ埛鑷畾涔夋暟鎹紝杩欐槸涓�涓墿灞曞瓧娈�
     //              fullData 杩欎釜瀛楁涓虹湡鐨勮瘽锛屽皢杩斿洖 鏈嶅姟绔繑鍥炵殑鎵�鏈夋暟鎹紝榛樿杩斿洖data
-    requestArr.push(request_o) // 灏嗚姹傚姞鍏ユ暟缁�
+    // 20210303 long 浼樺寲璇锋眰缁撴潫loading 灏唍oLoading涓嶈绠楀璇锋眰鏁扮粍
+    if (request_o && (!request_o.udData || !request_o.udData.noLoading)) {
+      requestArr.push(request_o) // 灏嗚姹傚姞鍏ユ暟缁�
+    }
+    // requestArr.push(request_o) // 灏嗚姹傚姞鍏ユ暟缁�
     if (http_o.startRequest) {
       http_o.startRequest(http_o, request_o) // 浜嬩欢濮旀墭,璇锋眰涔嬪墠
     }
@@ -177,7 +181,10 @@
         // ...urlEncodes,
       }
       // // 灏嗚姹傚弬鏁版斁鍒伴摼鎺ュ悗闈�
-      var paramsUrl = urlEncode(urlEncodes).replace('&', '?')
+      var paramsUrl = urlEncode(urlEncodes)
+      if (!/\?/.test(ajaxUrl)) {
+        paramsUrl = paramsUrl.replace('&', '?')
+      }
       ajaxUrl = ajaxUrl + paramsUrl
 
       // console.log(ajaxUrl)

--
Gitblit v1.8.0