From a982b6de0096cebfe51629c34d77b111bdee2f79 Mon Sep 17 00:00:00 2001
From: hejianhao <15708179461@qq.com>
Date: 星期五, 09 五月 2025 18:01:02 +0800
Subject: [PATCH] 登录

---
 culture/src/layouts/components/HeaderNav.vue |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/culture/src/layouts/components/HeaderNav.vue b/culture/src/layouts/components/HeaderNav.vue
index f3c7e3f..570103c 100644
--- a/culture/src/layouts/components/HeaderNav.vue
+++ b/culture/src/layouts/components/HeaderNav.vue
@@ -57,7 +57,7 @@
     // 退出登录
     outLogin() {
       sessionStorage.clear()
-      this.$router.replace({ path: "/login" });
+      this.$router.replace({ path: "/" });
     },
     // 关闭标签
     closeTag(tag) {
@@ -73,23 +73,26 @@
     },
     // 跳转标签
     goTag(tag) {
-      this.$router.push(tag.path)
+      this.$router.push({
+        path: tag.path,
+        query: tag.query
+      })
     },
     handleWheel(e) {
       if (this.scrollTimer) {
         this.scrollAmount += e.deltaY;
         return;
       }
-      
+
       const container = e.currentTarget;
       this.scrollAmount = e.deltaY;
-      
+
       const scroll = () => {
         container.scrollLeft += this.scrollAmount * 1.2; // 增加滚动速度
         this.scrollAmount = 0;
         this.scrollTimer = null;
       };
-      
+
       this.scrollTimer = setTimeout(scroll, 8); // 减少延迟时间
     }
   },

--
Gitblit v1.7.1