Explorar o código

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

bruce %!s(int64=5) %!d(string=hai) anos
pai
achega
9d65d9e902
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);