Skip to content

Commit

Permalink
Merge pull request #817 from yuri0528/yutyi/bug-xss-2
Browse files Browse the repository at this point in the history
fix: 用户信息转译
  • Loading branch information
wklken authored Nov 28, 2022
2 parents 12b07d6 + edb7de2 commit 110006d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/src/views/organization/details/InputString.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default {
methods: {
// 失焦验证
verifyInput(item) {
item.value = this.$xss(item.value);
item.value = item.value.replace(/</g, '&lt;').replace(/>/g, '&gt;');
if (!item.require) {
return;
}
Expand Down

0 comments on commit 110006d

Please sign in to comment.