From c6d3157eb616116c84d35e221ed9c57ef8da0ad6 Mon Sep 17 00:00:00 2001
From: long <515897141@qq.com>
Date: 星期四, 01 二月 2024 16:24:11 +0800
Subject: [PATCH] 操作频繁锁(60秒)

---
 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