From 00be30b877dacd58befbfb0638486dd36ab9869b Mon Sep 17 00:00:00 2001
From: pjb <123456>
Date: 星期一, 14 七月 2025 07:54:33 +0800
Subject: [PATCH] Merge branch 'ycds-wms-dev' of http://47.97.1.152:5880/r/zy-asrs-master into ycds-wms-dev

---
 zy-asrs-admin/src/utils/request.js |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/zy-asrs-admin/src/utils/request.js b/zy-asrs-admin/src/utils/request.js
index ef3de81..57f0ed3 100644
--- a/zy-asrs-admin/src/utils/request.js
+++ b/zy-asrs-admin/src/utils/request.js
@@ -7,12 +7,12 @@
 })
 
 export const get = async (url, params) => {
-    if (params?.condition != null && params?.condition != undefined && params?.condition != "") {
-        params.current = 1
-    }
-    if (params?._param != null && params?._param != undefined && hasNonEmptyProperty(params?._param)) {
-        data.current = 1
-    }
+    // if (params?.condition != null && params?.condition != undefined && params?.condition != "") {
+    //     params.current = 1
+    // }
+    // if (params?._param != null && params?._param != undefined && hasNonEmptyProperty(params?._param)) {
+    //     data.current = 1
+    // }
 
     return instance({
         url: url,
@@ -32,12 +32,12 @@
 }
 
 export const post = async (url, data) => {
-    if (data?.condition != null && data?.condition != undefined && data?.condition != "") {
-        data.current = 1
-    }
-    if (data._param != null && data._param != undefined && hasNonEmptyProperty(data?._param)) {
-        data.current = 1
-    }
+    // if (data?.condition != null && data?.condition != undefined && data?.condition != "") {
+    //     data.current = 1
+    // }
+    // if (data._param != null && data._param != undefined && hasNonEmptyProperty(data?._param)) {
+    //     data.current = 1
+    // }
     return instance({
         url: url,
         method: 'post',

--
Gitblit v1.9.1