-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sidebar-menu 的第一个总是激活状态. #1
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
感觉是app/static/js/global.js文件第18行开始错误导致的:
//初始化左侧菜单选中样式
var activeMenu = $(".sidebar-menu a[href*='" + getPageName() + "']:first").parent();
if (activeMenu.length > 0) {
do {
activeMenu.addClass("active")
activeMenu = activeMenu.parent();
} while (!activeMenu.hasClass("sidebar-menu"));
}
还不会js, 所以不会修改.
The text was updated successfully, but these errors were encountered: