2021年4月1日
摘要: 在组件中使用$route会使之与其对应路由形成高度耦合,使用props将组件和路由解耦: routes:[ { path:'/user', component:User, children:[ {path:info/:id,props:true,component:Info},//boolean值 阅读全文
posted @ 2021-04-01 19:52 半夏微澜ぺ 阅读(729) 评论(0) 推荐(0)