laboratory/src/layouts/components/HeaderNav.vue
@@ -52,11 +52,11 @@ }, // 获取用户信息 getUserInfo() { this.userInfo = JSON.parse(localStorage.getItem('userInfo')) this.userInfo = JSON.parse(sessionStorage.getItem('userInfo')) }, // 退出登录 outLogin() { localStorage.clear() sessionStorage.clear() this.$router.replace({ path: "/" }); }, // 关闭标签 @@ -73,7 +73,10 @@ }, // 跳转标签 goTag(tag) { this.$router.push(tag.path) this.$router.push({ path: tag.path, query: tag.query }) }, handleWheel(e) { if (this.scrollTimer) {