加入 {path: '/', redirect: 'ratings'},vue 1.0版本版本使用go,但是在2.0中是用router.go(‘/ratings’);会一直刷新 转载于:https://www.cnblogs.com/tarrying/p/8670050.html