diff --git a/ruoyi-admin/src/main/resources/static/ruoyi/index.js b/ruoyi-admin/src/main/resources/static/ruoyi/index.js index ad97d900..2ae799da 100644 --- a/ruoyi-admin/src/main/resources/static/ruoyi/index.js +++ b/ruoyi-admin/src/main/resources/static/ruoyi/index.js @@ -38,7 +38,7 @@ $(function() { } }); - $('#side-menu>li li a').click(function() { + $('#side-menu>li li a:not(:has(span))').click(function() { if ($(window).width() < 769) { NavToggle(); }