会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
秋墨江雪
博客园
首页
新随笔
联系
管理
订阅
2021年12月8日
详解vue 路由跳转四种方式 (带参数)
摘要: 1. router-link 1. 不带参数 <router-link :to="{name:'home'}"> <router-link :to="{path:'/home'}"> //name,path都行, 建议用name // 注意:router-link中链接如果是'/'开始就是从根路由开
阅读全文
posted @ 2021-12-08 11:12 秋墨江雪
阅读(423)
评论(0)
推荐(0)
公告