From 19eaad0129a36f8ee26786e9a9259cb643a82c97 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Fri, 23 Dec 2022 16:08:23 +0800 Subject: [PATCH] =?UTF-8?q?v3=E6=9C=80=E6=96=B0=E7=89=88=E6=9C=AC=E4=B8=8D?= =?UTF-8?q?=E9=9C=80=E8=A6=81render-after-expand?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ruoyi/common/filter/XssHttpServletRequestWrapper.java | 6 +++--- .../src/main/resources/vm/vue/v3/index-tree.vue.vm | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/filter/XssHttpServletRequestWrapper.java b/ruoyi-common/src/main/java/com/ruoyi/common/filter/XssHttpServletRequestWrapper.java index 3407f80..e0cc40a 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/filter/XssHttpServletRequestWrapper.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/filter/XssHttpServletRequestWrapper.java @@ -34,13 +34,13 @@ public class XssHttpServletRequestWrapper extends HttpServletRequestWrapper if (values != null) { int length = values.length; - String[] escapseValues = new String[length]; + String[] escapesValues = new String[length]; for (int i = 0; i < length; i++) { // 防xss攻击和过滤前后空格 - escapseValues[i] = EscapeUtil.clean(values[i]).trim(); + escapesValues[i] = EscapeUtil.clean(values[i]).trim(); } - return escapseValues; + return escapesValues; } return super.getParameterValues(name); } diff --git a/ruoyi-generator/src/main/resources/vm/vue/v3/index-tree.vue.vm b/ruoyi-generator/src/main/resources/vm/vue/v3/index-tree.vue.vm index 405d7d6..7bbd2fc 100644 --- a/ruoyi-generator/src/main/resources/vm/vue/v3/index-tree.vue.vm +++ b/ruoyi-generator/src/main/resources/vm/vue/v3/index-tree.vue.vm @@ -166,7 +166,6 @@ value-key="${treeCode}" placeholder="请选择${comment}" check-strictly - :render-after-expand="false" /> #elseif($column.htmlType == "input")