From 0546504caeb90ce931301e536757dc65cf2f62dd Mon Sep 17 00:00:00 2001
From: 若依 <yzz_ivy@163.com>
Date: Tue, 26 Jan 2021 10:50:09 +0800
Subject: [PATCH] !39 修复sentinel流量告警无提示 Merge pull request !39 from 9527/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 0dcb7ed..24351b0 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 (value && typeof(value) !== "undefined") {
+ if (value !== null && typeof(value) !== "undefined") {
if (typeof value === 'object') {
for (const key of Object.keys(value)) {
let params = propName + '[' + key + ']';
--
Gitblit v1.9.3