会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
无声守候
无声的岁月,我们在默默奔跑。。。
博客园
首页
新随笔
联系
订阅
管理
2020年9月3日
Vue 路由跳转、传参、接参四种方式
摘要: 一、router-link 1. 不带参数 <router-link :to="{name:'home'}"> <router-link :to="{path:'/home'}"> <!-- name,path都行, 建议用name --> 注意:router-link中链接如果是'/'开始就是从根
阅读全文
posted @ 2020-09-03 10:48 JoeYoung
阅读(7651)
评论(0)
推荐(0)
编辑