|
|
@@ -84,13 +84,13 @@ export default {
|
|
|
this.$toast('搜索内容不能为空');
|
|
|
return;
|
|
|
}
|
|
|
+ this.addHistory(this.search);
|
|
|
this.$router.push('/searchResult?search=' + item);
|
|
|
},
|
|
|
clickRight() {
|
|
|
this.getSearch(this.search);
|
|
|
},
|
|
|
onKey(e) {
|
|
|
- console.log(e.keyCode);
|
|
|
if (e.keyCode === 13) {
|
|
|
this.ddHistory(this.search);
|
|
|
this.$router.push('/searchResult?search=' + this.search);
|