VUE项目中使用Vuex出错 sato_light 2022-03-13 199 阅读1分钟 原因: vue的版本在3.0以下,vuex的版本高于4.0 解决方法: 通过npm uninstall vuex 再通过npm i vuex@3.6.2即可解决