params参数支持可传可不传,在route配置上加一个’?'就可以解决; path:'/searchDome/:keyword?' 传的值为" ",支持传值为underfunded,在传值的三目中加一个underfunded goTosearch(){ this.$router.push({name:'search', params:{title:this.searchVal || undefined}}) }