专题文章
时长:00:00更新时间:2020-11-27 19:43:35
在日常的vue开发中我们可能会遇见多个路由需要共用一个页面的需求,特别是当路由是通过动态添加的,不同的路由展示的东西只是数据不同其他没有变化。例如。let routes = [ {path:";/zhanshan";.components:Person.}.{path:";/lisi";.components:Person.}.{path:";/wangwu";.components:Person.}]。
查看详情