diff --git a/src/App.vue b/src/App.vue index 8bb3492..5c00d4b 100755 --- a/src/App.vue +++ b/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); }