在企业数字化转型过程中常见的问题分享
Sharing common problems in the process of digital transformation of enterprises
pbootcms判断有没有二级子菜单的标签就是要用if判断一下:{pboot:if([nav:soncount]>0)}
<ul> {pboot:nav num=10 parent=*} <li><a href="[nav:link]">[nav:name]</a> {pboot:if([nav:soncount]>0)} <ul> {pboot:2nav num=10 parent=[nav:scode]} <li><a href="[2nav:link]">[2nav:name]</a></li> {/pboot:2nav} </ul> {/pboot:if} </li> {/pboot:nav} </ul>