开发者社区 问答 正文

使用 redux 的异步 action 时浏览器报错

Error: Actions must be plain objects. Use custom middleware for async actions.

展开
收起
萌萌茹 2021-10-20 17:48:00 7013 分享 版权
2 条回答
写回答
取消 提交回答
  • thunk 中间件了解一下

    2021-10-26 19:38:40
    赞同 展开评论
  • 没有添加 thunk 中间件

    2021-10-20 17:48:16
    赞同 展开评论
问答分类:
问答地址: