mirror of https://gitee.com/y_project/RuoYi.git
修改菜单选中状态失效问题
parent
d2e5bd1e43
commit
ce18a9e86d
|
@ -3254,7 +3254,7 @@ body.body-small .footer.fixed {
|
||||||
|
|
||||||
.content-tabs .roll-nav, .page-tabs-list {
|
.content-tabs .roll-nav, .page-tabs-list {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 40px;
|
width: 30px;
|
||||||
height: 38px;
|
height: 38px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: #999;
|
color: #999;
|
||||||
|
@ -3285,9 +3285,9 @@ body.body-small .footer.fixed {
|
||||||
}
|
}
|
||||||
|
|
||||||
nav.page-tabs {
|
nav.page-tabs {
|
||||||
margin-left: 40px;
|
margin-left: 30px;
|
||||||
width: 100000px;
|
width: 100000px;
|
||||||
height: 40px;
|
height: 38px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -216,6 +216,8 @@ $(function() {
|
||||||
dataIndex = $(this).data('index'),
|
dataIndex = $(this).data('index'),
|
||||||
menuName = $.trim($(this).text()),
|
menuName = $.trim($(this).text()),
|
||||||
flag = true;
|
flag = true;
|
||||||
|
$(".nav ul li").removeClass("active");
|
||||||
|
$(this).parent("li").addClass("active");
|
||||||
if (dataUrl == undefined || $.trim(dataUrl).length == 0) return false;
|
if (dataUrl == undefined || $.trim(dataUrl).length == 0) return false;
|
||||||
|
|
||||||
// 选项卡菜单已存在
|
// 选项卡菜单已存在
|
||||||
|
|
Loading…
Reference in New Issue