vue中使用vuex创建store,跳出此问题。我网上搜了一下,没有人记录这个问题。我还是记录一下吧。
在store文件夹下的index.js 中创建store时候:
const store = new Vuex.store({})
把store改成大写即可。
const store = new Vuex.Store({})
真是一个垃圾的问题,不仔细
vue中使用vuex创建store,跳出此问题。我网上搜了一下,没有人记录这个问题。我还是记录一下吧。
在store文件夹下的index.js 中创建store时候:
const store = new Vuex.store({})
把store改成大写即可。
const store = new Vuex.Store({})
真是一个垃圾的问题,不仔细