博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
vue2 router-link to
阅读量:6907 次
发布时间:2019-06-27

本文共 678 字,大约阅读时间需要 2 分钟。

跳转到name为'article'的路有上,并且有参数id=art.id。 我们再来看看路有怎么写:
const routes = [{        path: '/article/:id',        name: 'article',        component: article    }]

 

转载于:https://www.cnblogs.com/guazi/p/6774026.html

你可能感兴趣的文章
mysql 查询当天的数据库
查看>>
volatile 关键字
查看>>
KVM autotest
查看>>
React文档(十五)使用propTypes进行类型检查
查看>>
[六省联考2017]寿司餐厅
查看>>
如何创建css
查看>>
Python语言特性之3:@staticmethod和@classmethod
查看>>
第四周总结
查看>>
2018.6.15
查看>>
LOJ#2541 猎人杀
查看>>
#region指令
查看>>
无光驱在32位windows系统下安装64位windows系统
查看>>
【我的Android进阶之旅】Android Studio查看Logcat时,如果一行Log太长如何换行显示?...
查看>>
vmstat命令中System下in cs 何时为高?
查看>>
js的replace函数入参为function时的疑问
查看>>
GPT & UEFI Install Windows7
查看>>
关于评论系统有限层及无限层评论的肤浅认知
查看>>
Python日常运维脚本
查看>>
[数分笔记]问题1.1 T1
查看>>
树莓派 校验和出错
查看>>