摘要: Vue router如何传参 要点总结:在vue-router中,有两大对象被挂载到了实例this;$route(只读、具备信息的对象);$router(具备功能的函数) 查询字符串:去哪里 ?<router-link :to="{name:'detail',query:{id:1}}"> xxx 阅读全文
posted @ 2021-04-30 15:54 假装空白 阅读(144) 评论(0) 推荐(0)