摘要: 跳转到不同的url,但这个方法会向history栈添加一个记录,点击后退会返回到上一个页面。 1、this.$router.push({path: '/home/sort/detail',query:{id: 'abc'}}) 获取参数 {{this.$route.query.id}} 2、this 阅读全文
posted @ 2020-01-07 10:38 蓝天fly 阅读(862) 评论(0) 推荐(0)