From b82b7cf16d0e397760142dea6ca9e32d0078524e Mon Sep 17 00:00:00 2001
From: chenhaozhe <cgz@hz-kingdee.com>
Date: 星期二, 07 四月 2026 10:10:27 +0800
Subject: [PATCH] 调整 请求 参数处理函数,取消空字符串值的过滤

---
 src/utils/ruoyi.js |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/utils/ruoyi.js b/src/utils/ruoyi.js
index 3de2d98..7d76329 100644
--- a/src/utils/ruoyi.js
+++ b/src/utils/ruoyi.js
@@ -193,7 +193,9 @@
   for (const propName of Object.keys(params)) {
     const value = params[propName]
     var part = encodeURIComponent(propName) + "="
-    if (value !== null && value !== "" && typeof (value) !== "undefined") {
+    if (value !== null 
+      // && value !== ""
+      && typeof (value) !== "undefined") {
       if (typeof value === 'object') {
         for (const key of Object.keys(value)) {
           if (value[key] !== null && value[key] !== "" && typeof (value[key]) !== 'undefined') {

--
Gitblit v1.9.1