vue中获取所有路由

在router实例上有options属性:

原文地址:https://www.cnblogs.com/shun1015/p/15424702.html