dispatch
https://dvajs.com/guide/introduce-class.html#dispatch-方法
https://dvajs.com/knowledgemap/#route-components
effects
namespace/effects_action
componentDidMount() {
const {
activeAppWebId,
// activeAppWebType,
pointCheck: {
os,
name,
appId,
dataSource,
pagination: {
pageSize,
total,
current,
},
// activeAppWebId,
},
dispatch,// hidden props
} = this.props;
let payload = {
os,
name,
appId,
dataSource,
pagination: {
pageSize,
total,
current,
},
activeAppWebId,
};
// log(`payload`, payload);
dispatch({
type: "pointCheck/fetchTableData",// namespace/effects_action
payload,
});
}
https://zzk.cnblogs.com/my/s/blogpost-p?Keywords=redux-saga
xgqfrms 2012-2020
www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!
手机扫一扫
移动阅读更方便
你可能感兴趣的文章