解决vue多个路由共用一个页面的问题【点击查看详情】
在日常的vue开发中我们可能会遇见多个路由需要共用一个页面的需求,特别是当路由是通过动态添加的,不同的路由展示的东西只是数据不同其他没有变化。例如。let routes = [ {path:";/zhanshan";.components:Person.}.{path:";/lisi";.components:Person.}.{path:";/wangwu";.components:Person.}]。