错误原因:
reducer里面

而action里面:

不一致所以会报这个错误
Error: Actions may not have an undefined "type" property. Have you misspelled a constant?
最新推荐文章于 2021-03-19 14:22:57 发布
博客指出报错原因是reducer里的内容与action里的内容不一致,从而导致报错。
523

被折叠的 条评论
为什么被折叠?



