1.嵌套路由,就是我理解为子路由;3d
而后在NewsList中的router-link中to:router
在to后面写路由路径的时候,必定要带上绝对路径,也就是要把父路由路径写进去“/newslist/newsinfo”blog