From d1d662b86bafc400574971b13e3464382adea24b Mon Sep 17 00:00:00 2001 From: ZHAOTONGHUA <2066753415@qq.com> Date: Wed, 20 Nov 2019 17:14:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A8=A1=E6=80=81=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/web/assets/js/model.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/frontend/web/assets/js/model.js b/frontend/web/assets/js/model.js index e86d0fd..1d7ab98 100644 --- a/frontend/web/assets/js/model.js +++ b/frontend/web/assets/js/model.js @@ -3,8 +3,12 @@ $(function(){ $(".model_wrap").show(); $(".model-bg").eq(0).removeClass("unchoose"); $('.jump').removeClass('unchoose'); - $('#side-menu li').eq(3).addClass('boo'); - $('#side-menu').addClass('boo'); + + $('#side-menu li').each(function (i) { + $(this).eq(i).find(".collapse").removeClass("in"); + }); + // $('#side-menu li').eq(3).addClass('boo'); + // $('#side-menu').addClass('boo'); }); $(".model-bg").each(function (i) {