刷新页面时,如果路由为非active路由,激活路由与实际路由不符合

暴力解决方法:App.vue中添加这段代码,刷新后重置到默认的路由

mounted(){
    this.$router.push('/')
  }
原文地址:https://www.cnblogs.com/jervy/p/14345095.html