|
@@ -59,7 +59,6 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
* remove({ payload, callback }, { call }) {
|
|
|
- console.log(payload);
|
|
|
const { success } = yield call(remove, payload);
|
|
|
if (success) {
|
|
|
message.success('操作成功!');
|
|
@@ -97,8 +96,8 @@ export default {
|
|
|
querySuccess(state, { payload }) {
|
|
|
return { ...state, currentItem: payload };
|
|
|
},
|
|
|
- saveFilters(state, { payload: filters }) {
|
|
|
- return { ...state, filters };
|
|
|
+ saveFilters(state, action) {
|
|
|
+ return { ...state, filters: action.payload };
|
|
|
},
|
|
|
saveOuterParams(state, action) {
|
|
|
return { ...state, ...action.payload };
|