1.param
给将要跳转到的路由加占位
{ path:"/search/:keyword", component:Search, meta:{ show:true } },
goSearch(){ this.$router.push("/search/" + this.keyword) }
1.param
给将要跳转到的路由加占位
{ path:"/search/:keyword", component:Search, meta:{ show:true } },
goSearch(){ this.$router.push("/search/" + this.keyword) }