Authored by 盖剑秋

Fix conflict at account settlement reducer.

... ... @@ -23,14 +23,9 @@ export default function messageReducer(state = initialState, action) {
break;
case ACCOUNT_LIST_SUCCESS:{
const {jsonData} = state;
// for (var i = 0; i < action.playload.length; i++) {
// jsonData.push(action.playload[i]);
// }
console.log('origin:'+jsonData);
console.log('payload:'+action.payload);
let data = [...jsonData, ...action.payload];
console.log('data:'+data);
let nextState = state.set('isFetching',false).set('jsonData',data);
return nextState;
}
... ...