使用Vuex时浏览器控制台报错,页面空白:Uncaught TypeError: __WEBPACK_IMPORTED_MODULE_5_vuex__.a.store is not a constructor
解决:
在vuex.store构造器中Store要大写
使用Vuex时浏览器控制台报错,页面空白:Uncaught TypeError: __WEBPACK_IMPORTED_MODULE_5_vuex__.a.store is not a constructor
解决:
在vuex.store构造器中Store要大写