修复管理员列表角色的分割符号

This commit is contained in:
TinyAnts 2023-03-16 11:01:53 +08:00
parent 932d46c6ee
commit 65d10f608c
1 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ public class SystemAuthAdminServiceImpl implements ISystemAuthAdminService {
role.add(d.getName());
}
}
vo.setRole(ListUtils.listToStringByStr(role, "/"));
vo.setRole(ListUtils.listToStringByStr(role, ","));
}
if (StringUtils.isNull(vo.getDept()) || vo.getDept().equals("")) {
@ -118,7 +118,7 @@ public class SystemAuthAdminServiceImpl implements ISystemAuthAdminService {
dept.add(d.getName());
}
}
vo.setDept(ListUtils.listToStringByStr(dept, "/"));
vo.setDept(ListUtils.listToStringByStr(dept, ","));
}
vo.setAvatar(UrlUtils.toAbsoluteUrl(vo.getAvatar()));