style: 移除客户端解决树状侧边栏代码
#Issue link Issue https://gitee.com/LongbowEnterprise/dashboard/issues?id=I1067G
This commit is contained in:
parent
190a624e27
commit
d5853f1ca6
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue