Vue-router 警告:已经有一个默认的child route了。。。。的解决方法。
[vue-router] Named Route ‘index’ has a default child route. When navigating to this named route (:to=”{name: ‘index’”), the default child route will not be rendered. Remove the name from this route and use the name of the default child route for named links instead.
解决方法
去掉父路由中的name属性即可。