xubiao
Results
1
comments of
xubiao
也遇到过此问题,不过我的dispatch代码如下(成功执行): ``` ReduxStore.dispatch((dispatch,getState)=>{ // 做异步处理 setTimeout(()=>{ dispatch({type:'ADD_ITEM',text:val}); },2000) }) ``` 官方给出的示例代码为: ``` function incrementAsync() { return dispatch => { setTimeout(() => { // Yay! Can invoke sync or async actions...