在vuex中路由跳转 先引入:这个引入的是你的路由文件,不是注册vuerouter import router from '../router/index.js' 然后用这句话来跳转就行,不要加什么this和$的,会报错 router.push({path:"/index"})