2020年7月11日

摘要: 路由配置时的数据交互: 配置:{ path: '/user/:id', component: User }// 动态路径参数 以冒号开头 效果:映射地址如 /user/foo 和 /user/bar 等 取值:$route.params.id 其它: 配置如/user/:username/post/ 阅读全文
posted @ 2020-07-11 15:29 xcc_20190625 阅读(356) 评论(0) 推荐(0)

导航