Przeglądaj źródła

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

bruce 5 lat temu
rodzic
commit
f92672ef2b
1 zmienionych plików z 1 dodań i 1 usunięć
  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);