问题
1、项目中报错,还加载不出来数据!
[vuex] module namespace not found in mapActions(): customer/
[Vue warn]: Error in created hook: "
TypeError: this.toLaodCustomer(…) isundefined"
TypeError: this.toLaodCustomer(…) is undefined
[vuex]module namespace not found in mapState(): customer/
[Vue warn]: Error in render: "TypeError: _vm.customerObj is undefined"
解决:
在仓库中的index.js导入customer之后,忘记在modules中设置;太崩溃了!
2、在项目启动时一直无法启动,而且install也没用
error in ./src/base/compone