原因:default-active和index属性不一致导致的

解决方法:使用路由的name属性设置给index和default-active

 

Logo

Vue社区为您提供最前沿的新闻资讯和知识内容

更多推荐