From e4b8898d0def65d9a26f31c90d0a94fcb7a8073f Mon Sep 17 00:00:00 2001
From: DokiYoloo <857815116@qq.com>
Date: Mon, 14 Dec 2020 14:41:00 +0800
Subject: [PATCH] !30 修正代码生成下载zip路径 Merge pull request !30 from 我啊/master
---
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 ece18a2..0dcb7ed 100644
--- a/ruoyi-ui/src/utils/request.js
+++ b/ruoyi-ui/src/utils/request.js
@@ -27,7 +27,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