• ${user.userName}
    • ${text('个人中心')}
    • ${text('修改密码')}
    • ${text('退出登录')}
    • <% var sysDictList = @DictUtils.getDictList('sys_menu_sys_code'); if(sysDictList.~size > 1){ var menuSysCode = @ObjectUtils.toStringIgnoreNull(session.sysCode, 'default'); %>
    • ${text('系统切换')}:
    • <% for(var dict in sysDictList){ %>
    • ${dict.dictLabel}
    • <% } %>
    • <% }else{ %>
    • <% } %> <% if(user.roleList.~size > 0){ %>
    • <% var roleCode = @ObjectUtils.toStringIgnoreNull(session.roleCode, ''); %>
    • ${text('选择身份')}:<% if(isNotBlank(roleCode)){ %> <% } %>
    • <% for(var role in user.roleList){ %>
    • ${role.roleName}
    • <% } %> <% } %>