官方手册的例子很简洁,但是我用的时候却非常周折,无论如何也不生效
<include file="Public/header" currentNav="网站管理 > 系统信息" />
先是怀疑使用了关键字>或空格
<include file="Public/header" currentNav="网站管理系统信息" />
依然不生效,但是
<include file="Public/header" ti
他却能生效,原来是字母大小写问题,参数名称应该是全部小写字母
<include file="Public/header" currentnav="网站管理 > 系统信息" />
今天的一个收获
最佳答案