pull/1121/head
梁宇奇 2025-07-14 14:53:42 +08:00
parent 6e68cffdf9
commit 008deabf2b
1 changed files with 3 additions and 0 deletions

View File

@ -531,6 +531,9 @@ public class SysUserServiceImpl implements ISysUserService {
* @param user
*/
private void fillMenus(UserInfo user) {
if (user == null) {
return;
}
List<RoleInfo> roles = CollUtil.emptyIfNull(user.getRoles());
Set<SysMenu> menus = new HashSet<>();
for (RoleInfo role : roles) {