Skip to content

Commit

Permalink
优化代码
Browse files Browse the repository at this point in the history
  • Loading branch information
yangzongzhuan committed Dec 23, 2022
1 parent 26b80d4 commit ad9e083
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ public String[] getParameterValues(String name)
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);
}
Expand Down
1 change: 0 additions & 1 deletion src/main/resources/vm/vue/v3/index-tree.vue.vm
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@
value-key="${treeCode}"
placeholder="请选择${comment}"
check-strictly
:render-after-expand="false"
/>
</el-form-item>
#elseif($column.htmlType == "input")
Expand Down

0 comments on commit ad9e083

Please sign in to comment.