Vue Router(5)
摘要:
命名路由 const routes = [ { path: '/user/:username', name: 'user', component: User } ] <router-link :to="{ name: 'user', params: { username: 'erina' }}"> 阅读全文
posted @ 2022-02-16 19:25 zhishiyv 阅读(34) 评论(0) 推荐(0) 编辑