shelterItem:(key)=>{
return dispatch({type:'SHELTER_SUBMENU_LIST_DATA',filter:key}, {type:'SUBMENU_PAGINATION_INITIAL_shelter'})
}
如上面的代码
只有第一个生效
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
可以看一下redux-thunk,它可以创建一个actionCreator,在这里你可以触发多个action
github:https://github.com/gaearon/re...
多次调用dispatch就好了哇。。。
或者用redux-multi
redux-chunk或自己写个中间件给个链接你中间件7