From 19b868875992821a28f408cbbd2a31fa47f91072 Mon Sep 17 00:00:00 2001 From: Live <1005297262@qq.com> Date: 星期二, 09 六月 2020 11:36:10 +0800 Subject: [PATCH] IpUtils工具,清除Xss特殊字符,防止Xff注入攻击 --- ruoyi-ui/src/views/system/config/index.vue | 7 ------- 1 files changed, 0 insertions(+), 7 deletions(-) diff --git a/ruoyi-ui/src/views/system/config/index.vue b/ruoyi-ui/src/views/system/config/index.vue index e32d2ee..83b77b9 100644 --- a/ruoyi-ui/src/views/system/config/index.vue +++ b/ruoyi-ui/src/views/system/config/index.vue @@ -305,8 +305,6 @@ this.msgSuccess("淇敼鎴愬姛"); this.open = false; this.getList(); - } else { - this.msgError(response.msg); } }); } else { @@ -315,8 +313,6 @@ this.msgSuccess("鏂板鎴愬姛"); this.open = false; this.getList(); - } else { - this.msgError(response.msg); } }); } @@ -352,12 +348,9 @@ }, /** 娓呯悊缂撳瓨鎸夐挳鎿嶄綔 */ handleClearCache() { - const queryParams = this.queryParams; clearCache().then(response => { if (response.code === 200) { this.msgSuccess("娓呯悊鎴愬姛"); - } else { - this.msgError(response.msg); } }); } -- Gitblit v1.9.3