Commit 83c807cd authored by 邓超's avatar 邓超

fix: 修改搜索人员报错问题

parent 42870475
Pipeline #53611 passed with stages
......@@ -393,6 +393,9 @@ const UserManage = () => {
};
// 模糊查询匹配的样式
const searchStyle = val => {
if (!val) {
return val;
}
let n;
if (showSearchStyle) {
n = val.replace(new RegExp(searchWord, 'g'), `<span style='color:red'>${searchWord}</span>`);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment