|
|
@ -605,12 +605,12 @@ router.beforeEach((to, from, next) => { |
|
|
if (item.path === to.path) { |
|
|
if (item.path === to.path) { |
|
|
store.commit('SET_CUSTOMIZE', false); |
|
|
store.commit('SET_CUSTOMIZE', false); |
|
|
store.commit('SET_SLIDER_MENU', 'menuData'); |
|
|
store.commit('SET_SLIDER_MENU', 'menuData'); |
|
|
|
|
|
|
|
|
const menu_list = JSON.parse(localStorage.getItem('menu_list')) |
|
|
|
|
|
if(menu_list) store.commit('SET_SLIDER_MENU', menu_list); |
|
|
|
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
|
|
|
const menu_list = JSON.parse(localStorage.getItem('menu_list')) |
|
|
|
|
|
if(menu_list) store.commit('SET_SLIDER_MENU', menu_list); |
|
|
|
|
|
|
|
|
if (to.path.includes('/super/ranking/')) { //匹配包含此路径的 侧边栏数据
|
|
|
if (to.path.includes('/super/ranking/')) { //匹配包含此路径的 侧边栏数据
|
|
|
store.commit('SET_CARRY_PARAM', false); |
|
|
store.commit('SET_CARRY_PARAM', false); |
|
|
store.commit('SET_CUSTOMIZE', true); |
|
|
store.commit('SET_CUSTOMIZE', true); |
|
|
|