diff --git a/src/router/index.js b/src/router/index.js index 1e540f7..23dffc5 100755 --- a/src/router/index.js +++ b/src/router/index.js @@ -560,9 +560,9 @@ router.beforeEach((to, from, next) => { // 一级页面 侧边栏显示 统一化 if (first_child_router.length > 0) { first_child_router.forEach(item => { - if (item.path == to.path) { + if (item.path === to.path) { store.commit('SET_CUSTOMIZE', false); - store.commit('SET_SLIDER_MENU', 'menuData'); + // store.commit('SET_SLIDER_MENU', 'menuData'); } }) }