摘要: //$router : 是路由操作对象,只写对象 //$route : 路由信息对象,只读对象 //操作 路由跳转 this.$router.push({ name:'hello', params:{ name:'word', age:'11' } }) //读取 路由参数接收 this.name 阅读全文
posted @ 2021-11-11 09:27 青幽草 阅读(597) 评论(0) 推荐(0) 编辑