From 5109eb0e7ed779c010d1bd6a4ea0409c77ee1d72 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期三, 09 十二月 2020 13:37:04 +0800 Subject: [PATCH] 日志输出改回相对路径 解决新版idea 编译user.dir会指定到idea配置目录下 --- ruoyi-ui/src/utils/request.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ruoyi-ui/src/utils/request.js b/ruoyi-ui/src/utils/request.js index 0cc7b0a..e7e6519 100644 --- a/ruoyi-ui/src/utils/request.js +++ b/ruoyi-ui/src/utils/request.js @@ -25,7 +25,7 @@ for (const propName of Object.keys(config.params)) { const value = config.params[propName]; var part = encodeURIComponent(propName) + "="; - if (typeof(value) !== "undefined") { + if (value && typeof(value) !== "undefined") { if (typeof value === 'object') { for (const key of Object.keys(value)) { let params = propName + '[' + key + ']'; -- Gitblit v1.9.3