如何限制第3级栏目前台调用的数量
num=2这个参数放进去报错
{category module=share pid=0 }
{$t.name}
{if $t.child}
{category module=share pid=$t.id return=t2}
- {$t2.name}
{if $t2.child}
{category module=share pid=$t2.id return=t3 num=2}
- - {$t3.name}
{/category}
{/if}
{/category}
{/if}
{/category}