From bf4dca5344dee1a84b75d9993f4dfc59de3f3ee9 Mon Sep 17 00:00:00 2001
From: jazz <jazzxhunter@163.com>
Date: 星期五, 08 十二月 2023 19:34:49 +0800
Subject: [PATCH] update_202312081934_项目-治疗室屏幕web-反馈调整

---
 src/utils/jun_http.js |   36 ++++++++++++++++++------------------
 1 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/src/utils/jun_http.js b/src/utils/jun_http.js
index 71aca81..15ec604 100644
--- a/src/utils/jun_http.js
+++ b/src/utils/jun_http.js
@@ -1,7 +1,7 @@
 /**
  * Http 璇锋眰
  * * 灏忕▼搴忚浣跨敤澧炲己缂栬瘧
- * 
+ *
  * 璋冪敤渚嬪瓙
  * Req.http.post({
  * 	url: '',
@@ -12,24 +12,24 @@
 import Axios from '../libs/axios'
 
 /* json杞琭ormdata锛堝簭鍒楀寲锛夛紝浠呮敮鎸佷竴绾у瓧闈㈤噺鍜屽瓧闈㈤噺鏁扮粍 */
-function jsonToFormData (json) {
-    var arr = []
-    var e = encodeURIComponent
-    for (var key in json) {
-        var item = json[key]
-        var res
-        if (item instanceof Array) {
-            res = [];
-            item.map(function (o, i) {
-                res.push(e(key) + '=' + e(o))
-            });
-            res = res.join('&')
-        } else {
-            res = e(key) + '=' + e(item)
-        }
-        arr.push(res)
+function jsonToFormData(json) {
+  var arr = []
+  var e = encodeURIComponent
+  for (var key in json) {
+    var item = json[key]
+    var res
+    if (item instanceof Array) {
+      res = []
+      item.map(function(o) {
+        res.push(e(key) + '=' + e(o))
+      })
+      res = res.join('&')
+    } else {
+      res = e(key) + '=' + e(item)
     }
-    return arr.join('&')
+    arr.push(res)
+  }
+  return arr.join('&')
 }
 
 /**

--
Gitblit v1.8.0