<@shiro.user>
- 首页
<@zhydTag method="menus" userId="${user.id}"> <#if menus?? && menus?size gt 0> <#list menus as item> <#if item.nodes?? && item.nodes?size gt 0>
- ${item.name?if_exists}
  <#list item.nodes as node> <#if node.permission?if_exists> <@shiro.hasPermission name="${node.permission?if_exists}">
  - ${node.name?if_exists}
  <#else>
  - ${node.name?if_exists}
<#else>
- ${item.name?if_exists}