Skip to content

Commit

Permalink
fix: 菜单选中状态失效
Browse files Browse the repository at this point in the history
  • Loading branch information
lerry903 committed Jun 22, 2019
1 parent 3d46481 commit cfa0320
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ruoyi-admin/src/main/resources/static/ruoyi/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

// 选项卡菜单已存在
Expand Down

0 comments on commit cfa0320

Please sign in to comment.