Browse Source

导航兼容bug修复

master
pengda 16 hours ago
parent
commit
92c8e05d76
  1. 2
      src/App.vue

2
src/App.vue

@ -58,7 +58,7 @@ export default {
},
mounted() {
window.addEventListener('beforeunload', this.clearStorage);
if(this.$route.path.includes('/agent/')){
if(this.$route.path.includes('/agent/') || this.$route.path === '/'){
const menu_list = JSON.parse(localStorage.getItem('menu_list'))
store.commit('SET_SLIDER_MENU', menu_list);
}

Loading…
Cancel
Save