编程式导航的3种传参方式
this.$router.push('/search/'+this.searchStr+"?k="+this.searchStr.toUpperCase());
//第二:模板字符串
this.$router.push(`/search/${this.searchStr}?k=${this.keyword.toUpperCase()}`);
//第三:对象
this.$router.push({name:"search",params:{searchStr:this.searchStr},query:{k:this.keyword.toUpperCase()}})