|
|
@ -353,6 +353,7 @@ router.beforeEach((to, from, next) => { |
|
|
|
store.commit('SET_SIDEBAR', false); // 黑名单内页面不显示侧边栏
|
|
|
|
} else { |
|
|
|
store.commit('SET_SIDEBAR', true); // 其他页面显示侧边栏
|
|
|
|
// 一级页面 侧边栏显示 统一化
|
|
|
|
if (first_child_router.length > 0) { |
|
|
|
first_child_router.forEach(item => { |
|
|
|
if (item.path == to.path) { |
|
|
|