src/views/layout/components/Main/index.vue
@@ -178,6 +178,9 @@ newPath === '/home' ? this.navFlag = true : this.navFlag = false } }, created(){ this.$route.path === '/home' ? this.navFlag = true : this.navFlag = false }, methods:{ handleJump(url){ const baseURL = '/home'