Actions may not have an undefined "type" property
来源:8-11 redux状态管理:首页连接redux

慕姐2055152
2019-12-11
if(typeof callAPI === ‘undefined’) {
return next(action)
}
这里一直报这个错
写回答
1回答
-
艾特老干部
2019-12-18
你好,这个报错信息说明,你传入的action的type值为undefined,也就是没有正常设置action的type属性,可以打断点单步调试看看,错误出在哪里。
012019-12-18
相似问题