缺少权限验证

This commit is contained in:
augushong
2019-10-10 13:20:08 +08:00
parent f00328d030
commit f23e255619
32 changed files with 214 additions and 35 deletions

View File

@@ -17,5 +17,22 @@
var element = layui.element;
});
$(function(){
if(typeof currentHeaderNavItem != "undefined"){
$('.header-nav-item').each(function(i,e){
if($(e).data('name') == currentHeaderNavItem){
$(e).addClass('layui-this')
}
})
}
if(typeof currentLeftNavItem != "undefined"){
$('.left-nav-item').each(function(i,e){
if($(e).data('name') == currentLeftNavItem){
$(e).addClass('layui-this')
}
})
}
})
</script>
{:get_system_config('site_tongji')}