Explorar el Código

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

bruce hace 5 años
padre
commit
f92672ef2b
Se han modificado 1 ficheros con 1 adiciones y 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);