Browse Source

导航接入接口数据

master
pengda 6 hours ago
parent
commit
5c5cd996f4
  1. 4
      src/router/index.js

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

Loading…
Cancel
Save