|
|
@@ -379,11 +379,11 @@
|
|
|
location.href = this.baseUrl + url;
|
|
|
},
|
|
|
clickInputEnter() {
|
|
|
- // console.log("location ==", this.$route.path + "/?keyword=" + this.keywork);
|
|
|
- // console.log("window.location ==", window.location.href);
|
|
|
- // console.log("windown.location.hostname=", window.location.hostname);
|
|
|
- // console.log("windown.location.pathname=", window.location.pathname);
|
|
|
- let url = window.location.hostname + "/" + window.location.pathname + "/?keyword=" + this.keywork;
|
|
|
+ console.log("location ==", this.$route.path + "/?keyword=" + this.keywork);
|
|
|
+ console.log("window.location ==", window.location.href);
|
|
|
+ console.log("windown.location.hostname=", window.location.hostname);
|
|
|
+ console.log("windown.location.pathname=", window.location.pathname);
|
|
|
+ let url = "/?keyword=" + this.keywork;
|
|
|
console.log(url);
|
|
|
window.location.href = url;
|
|
|
},
|