if (e.keyCode == 13) { this.$router.push({ path: "/search", query: { filterquery: this.searchs, }, }); }
不在判断中可以跳转
这是点击回车跳转,没啥问题