From 92c8e05d76dc04822b2079b17c0ecd07862cc71f Mon Sep 17 00:00:00 2001 From: pengda <1111@qq.com> Date: Tue, 2 Sep 2025 14:28:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E8=88=AA=E5=85=BC=E5=AE=B9bug?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }