提交 44b09f6d authored 作者: 李仕聪's avatar 李仕聪
......@@ -19,6 +19,9 @@ const myCollect = {
pageInfo: {
totalPage: 1,
total: 0,
},
waitPageParams: {
},
},
effects: {
......@@ -29,6 +32,10 @@ const myCollect = {
* @param {pageNo} 页码
*/
*getBacklog({ payload, callback }, { call, put }) {
yield put({
type: 'saveWaitPageParams',
payload: payload,
});
const response = yield call(uaaRequest, `${api}/getWaitPage`, {
...payload,
});
......@@ -360,6 +367,12 @@ const myCollect = {
...state,
pageInfo: payload,
};
},
saveWaitPageParams(state, { payload } ) {
return {
...state,
waitPageParams: payload,
}
},
},
};
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论