【vuex】default.store is not a constructor

【错误】

页面无法显示,且报错:

app.js:807  Uncaught TypeError:vuex__WEBPACK_IMPORTED_MODULE_2__.default.store is not a constructor

 【原因】

创建Store实例的时候,拼写错误

【 解决方法】

修改如下:

猜你喜欢

转载自blog.csdn.net/qq_54639969/article/details/132122888
今日推荐