Commit 1a030740 authored by xishifeng's avatar xishifeng

优化

parent be35e38c
......@@ -28,6 +28,7 @@ define(['doT', 'jquery', 'text!temp/menu_template_tpl.html', 'layer'], function
menu_bar(function(){
//回调部分
//记录tab的点击状态,对应的标签内容展开,并高亮显示
var _hash = location.pathname.replace('/admin.php/', '/');
var _tempObj = $('[data-href="'+_hash+'"]');
_tempObj.addClass('active-a').siblings().removeClass('active-a');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment