CN-1663 fix: 1、用户--新建/编辑,添加密码强度提示;2、修复&符号在界面显示异常的问题。

This commit is contained in:
刘洪洪
2024-07-02 18:13:04 +08:00
parent a050cf6c7c
commit 6823b7e4d7
5 changed files with 95 additions and 8 deletions

View File

@@ -1584,3 +1584,10 @@ const tagValueHandler = (value) => {
export const headerCellClass = (row) => {
return 'my-header-cell-class'
}
/**
* & 被转译为& 将转义后的值转为 &
*/
export const handleSpecialCode = (str) => {
return str.indexOf('&') > -1 ? str.replaceAll('&', '&') : str
}