会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
LeoX的爬坑笔记
博客园
首页
新随笔
联系
管理
2020年6月3日
vue-router三种路由传参方式比较
摘要: 1.方案一 // 路由定义 { path: '/describe/:id', name: 'Describe', component: Describe } // 页面传参 this.$router.push({ path: `/describe/${id}`, }) // 页面获取 this.$r
阅读全文
posted @ 2020-06-03 10:56 LeoX的爬坑笔记
阅读(285)
评论(0)
推荐(0)
编辑
公告