随笔分类 -  vue

摘要:1.router-link 传参:<router-link :to="{path:'/home'}"> <router-link :to="{name:'home', params(query): {id:1}}"> 取参:html:$router.params(query).id script:t 阅读全文
posted @ 2021-10-13 15:30 ssssd12 阅读(212) 评论(0) 推荐(0)