|
|
@@ -379,8 +379,14 @@ export default {
|
|
|
location.href = this.baseUrl + url;
|
|
|
},
|
|
|
clickInputEnter() {
|
|
|
- console.log("location ==", this.$route.path + "/?keyword=" + this.keywork);
|
|
|
- window.location.href = this.$route.path + "/?keyword=" + this.keywork;
|
|
|
+ let url = "";
|
|
|
+ if (this.$route.name === "job") {
|
|
|
+ url = "/?keyword=" + this.keywork;
|
|
|
+ } else if (this.$route.fullPath.indexOf("jishuin") > -1) {
|
|
|
+ url = "/user/searchTopic?keyword=" + this.keywork;
|
|
|
+ }
|
|
|
+ console.log(url);
|
|
|
+ window.location.href = url;
|
|
|
},
|
|
|
async getMessageCount() {
|
|
|
let res = await this.$axios.$get(
|