diff --git a/frontend/wechat/src/layouts/MainLayout.vue b/frontend/wechat/src/layouts/MainLayout.vue index 5bc0816..a400741 100644 --- a/frontend/wechat/src/layouts/MainLayout.vue +++ b/frontend/wechat/src/layouts/MainLayout.vue @@ -14,7 +14,7 @@ const tabs = [ const switchTab = (index, route) => { activeTab.value = index - router.push(route) + router.replace(route) } @@ -30,17 +30,13 @@ const switchTab = (index, route) => {