npm install redux-thunk. 然后在store中引入redux的thunk插件就可以了正常使用了。 import { createStore, applyMiddleware } from 'redux'; import thunk from ...
確定! 回上一頁