搜索文档
1<router-link to="/路由规则?参数=值&参数=值">首页</router-link>
1// 简写 2this.$router.push('/user?id=123') 3 4// 完整写法 5this.$router.push({ 6 path:'/user', 7 query: { 8 id: 123 9 } 10})