From 19b868875992821a28f408cbbd2a31fa47f91072 Mon Sep 17 00:00:00 2001
From: Live <1005297262@qq.com>
Date: Tue, 09 Jun 2020 11:36:10 +0800
Subject: [PATCH] IpUtils工具,清除Xss特殊字符,防止Xff注入攻击
---
ruoyi-ui/src/views/system/user/profile/userAvatar.vue | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/ruoyi-ui/src/views/system/user/profile/userAvatar.vue b/ruoyi-ui/src/views/system/user/profile/userAvatar.vue
index 5446ab5..8ffe25e 100644
--- a/ruoyi-ui/src/views/system/user/profile/userAvatar.vue
+++ b/ruoyi-ui/src/views/system/user/profile/userAvatar.vue
@@ -122,8 +122,6 @@
this.open = false;
this.options.img = process.env.VUE_APP_BASE_API + response.imgUrl;
this.msgSuccess("修改成功");
- } else {
- this.msgError(response.msg);
}
this.$refs.cropper.clearCrop();
});
--
Gitblit v1.9.2