Authored by 王海元

显示二次确认 --review by 孙凯

... ... @@ -287,7 +287,6 @@ export function getAddSettlement() {
dispatch(addSettlementRequest());
return new AllianceService(app.host).fetchAddSettlement(uid)
.then(json => {
json.isShow = true;
dispatch(addSettlementSuccess(json));
})
.catch(error => {
... ...
... ... @@ -105,7 +105,7 @@ export default function couponReducer(state = initialState, action) {
case ADD_SETTLEMENT_SUCCESS: {
return state.setIn(['addSettlement', 'isFetching'], true)
.set('showWithdrawalDialog', action.payload.isShow)
.set('showWithdrawalDialog', true)
.setIn(['addSettlement', 'error'], null);
}
... ...