store/index.js(图片中的代码已经修改过了): 在mian.js引入后,浏览器报错 错误字面意思大概就是store不是一个构造器 解决办法,在export default时Vuex.store中的store首字母大写