|
|
@ -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');
|
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|