From a98c7dafc9a97c96874cdd7dd4420192dea3de5d Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Sun, 14 Apr 2019 17:36:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9BUG=EF=BC=9A=E9=9D=A2?= =?UTF-8?q?=E5=8C=85=E5=AF=BC=E8=88=AA=E6=9D=A1=E4=B8=8D=E6=AD=A3=E7=A1=AE?= =?UTF-8?q?=20closed=20#IVCV2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #Issue https://gitee.com/LongbowEnterprise/dashboard/issues?id=IVCV2 #Comment jquery.dcAccordion 组件使用jquery.cookie组件对上一次导航链接地址进行了缓存 --- Bootstrap.Admin/wwwroot/js/common-scripts.js | 3 ++- Bootstrap.Client/wwwroot/js/common-scripts.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Bootstrap.Admin/wwwroot/js/common-scripts.js b/Bootstrap.Admin/wwwroot/js/common-scripts.js index fce05017..4f72f523 100644 --- a/Bootstrap.Admin/wwwroot/js/common-scripts.js +++ b/Bootstrap.Admin/wwwroot/js/common-scripts.js @@ -127,7 +127,8 @@ $(function () { var $sideMenu = $(".sidebar"); $sideMenu.dcAccordion({ - autoExpand: true + autoExpand: true, + saveState: false }); // breadcrumb diff --git a/Bootstrap.Client/wwwroot/js/common-scripts.js b/Bootstrap.Client/wwwroot/js/common-scripts.js index cf4f41b3..6636a109 100644 --- a/Bootstrap.Client/wwwroot/js/common-scripts.js +++ b/Bootstrap.Client/wwwroot/js/common-scripts.js @@ -1,7 +1,8 @@ $(function () { var $sideMenu = $(".sidebar"); $sideMenu.dcAccordion({ - autoExpand: true + autoExpand: true, + saveState: false }); var $breadNav = $('#breadNav'); var arch = $sideMenu.find('a.active').last();