Parcourir la source

修改搜索跳转逻辑:更换技术圈跳转验证

bruce il y a 5 ans
Parent
commit
f92672ef2b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      components/header.vue

+ 1 - 1
components/header.vue

@@ -383,7 +383,7 @@
         let url = "";
         if (this.$route.name === "job") {
           url = "/?keyword=" + this.keywork;
-        } else if (this.$route.name === "jishuin") {
+        } else if (this.$route.fullPath.indexOf("jishuin") > -1) {
           url = "/user/searchTopic?keyword=" + this.keywork;
         }
         console.log(url);