From d5853f1ca6926a41f4528773f197226d737c0d5c Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Fri, 16 Aug 2019 21:51:57 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E7=A7=BB=E9=99=A4=E5=AE=A2=E6=88=B7?= =?UTF-8?q?=E7=AB=AF=E8=A7=A3=E5=86=B3=E6=A0=91=E7=8A=B6=E4=BE=A7=E8=BE=B9?= =?UTF-8?q?=E6=A0=8F=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #Issue link Issue https://gitee.com/LongbowEnterprise/dashboard/issues?id=I1067G --- Bootstrap.Admin/wwwroot/js/common-scripts.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Bootstrap.Admin/wwwroot/js/common-scripts.js b/Bootstrap.Admin/wwwroot/js/common-scripts.js index e66bf4e6..167f6af0 100644 --- a/Bootstrap.Admin/wwwroot/js/common-scripts.js +++ b/Bootstrap.Admin/wwwroot/js/common-scripts.js @@ -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();