修改菜单选中状态失效问题

master
RuoYi 5 years ago committed by Limy
parent 45401ee967
commit e80dff02ac

@ -3254,7 +3254,7 @@ body.body-small .footer.fixed {
.content-tabs .roll-nav, .page-tabs-list {
position: absolute;
width: 40px;
width: 30px;
height: 38px;
text-align: center;
color: #999;
@ -3285,9 +3285,9 @@ body.body-small .footer.fixed {
}
nav.page-tabs {
margin-left: 40px;
margin-left: 30px;
width: 100000px;
height: 40px;
height: 38px;
overflow: hidden;
}

@ -216,6 +216,8 @@ $(function() {
dataIndex = $(this).data('index'),
menuName = $.trim($(this).text()),
flag = true;
$(".nav ul li").removeClass("active");
$(this).parent("li").addClass("active");
if (dataUrl == undefined || $.trim(dataUrl).length == 0) return false;
// 选项卡菜单已存在

Loading…
Cancel
Save