From 5a48c5dba74cda34c78bb9d90a4d2a727ce45d52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=85=E6=BA=AA=E5=85=88=E7=94=9F?= Date: Thu, 2 Jun 2022 08:53:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E3=80=90=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E5=AF=B9=E7=A9=BA=E5=AD=97=E7=AC=A6=E4=B8=B2=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E7=9A=84=E8=BF=87=E6=BB=A4=E3=80=91=E6=8F=90=E4=BA=A4=E7=9A=84?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E5=88=A4=E6=96=AD=E9=97=AE=E9=A2=98=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 清溪先生 --- ruoyi-ui/src/utils/ruoyi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-ui/src/utils/ruoyi.js b/ruoyi-ui/src/utils/ruoyi.js index 4ee3b43a..99cd3143 100644 --- a/ruoyi-ui/src/utils/ruoyi.js +++ b/ruoyi-ui/src/utils/ruoyi.js @@ -210,7 +210,7 @@ export function tansParams(params) { if (value !== null && value !== "" && typeof (value) !== "undefined") { if (typeof value === 'object') { for (const key of Object.keys(value)) { - if (value[key] !== null && value !== "" && typeof (value[key]) !== 'undefined') { + if (value[key] !== null && value[key] !== "" && typeof (value[key]) !== 'undefined') { let params = propName + '[' + key + ']'; var subPart = encodeURIComponent(params) + "="; result += subPart + encodeURIComponent(value[key]) + "&";