From c70ed4a67d60ad68002b747f815441996c8a0e7b Mon Sep 17 00:00:00 2001 From: macbook Date: Sat, 27 Apr 2024 17:07:52 +0800 Subject: [PATCH] no message --- redux/redux-reactRedux/src/containers/count/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redux/redux-reactRedux/src/containers/count/index.jsx b/redux/redux-reactRedux/src/containers/count/index.jsx index 11ff2fdf0..731b05d1c 100644 --- a/redux/redux-reactRedux/src/containers/count/index.jsx +++ b/redux/redux-reactRedux/src/containers/count/index.jsx @@ -9,7 +9,7 @@ function mapDispatchToProps(dispatch){ return { jia:data=>dispatch(createIncreementAction(data)), jian:data=>dispatch(createDecreementAction(data)), - jiaAsync:data=>dispatch(createIncreementAsyncAction(data,time)), + jiaAsync:(data,time)=>dispatch(createIncreementAsyncAction(data,time)), } } const CountContainer=connect(mapStateToProps,mapDispatchToProps)(countUI)