style: 移除客户端解决树状侧边栏代码

#Issue
link Issue https://gitee.com/LongbowEnterprise/dashboard/issues?id=I1067G
This commit is contained in:
Argo Zhang 2019-08-16 21:51:57 +08:00
parent 190a624e27
commit d5853f1ca6
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
1 changed files with 0 additions and 8 deletions

View File

@ -132,14 +132,6 @@
$(function () {
var $sideMenu = $(".sidebar ul");
// 临时使用脚本解决多层菜单收缩问题
// Issue https://gitee.com/LongbowEnterprise/dashboard/issues?id=I1067G
var $activeLink = $sideMenu.find('a.nav-link.active');
while ($activeLink.length > 0) {
var $li = $activeLink.parent('li').addClass('menu-open');
$activeLink = $li.parent().prev().addClass('active');
}
// breadcrumb
var $breadNav = $('#breadNav, .main-header .breadcrumb-item:last');
var arch = $sideMenu.find('a.active').last();