...
|
...
|
@@ -28,8 +28,8 @@ export default function stockStatsReducer(state = initialState, action) { |
|
|
let {additionInfo, list} = action.payload;
|
|
|
let data = [...origin, ...(list || [])];
|
|
|
let nextState = state.set('isFetching',false)
|
|
|
.set('sum', additionInfo.storageTotalNum)
|
|
|
.set('totalAmount', additionInfo.storageTotalMoney)
|
|
|
.set('sum', additionInfo.storageTotalNum || '0')
|
|
|
.set('totalAmount', additionInfo.storageTotalMoney || '0.00')
|
|
|
.set('currentPage', action.payload.page)
|
|
|
.set('pageCount', action.payload.totalPage)
|
|
|
.set('jsonData', Immutable.fromJS(data));
|
...
|
...
|
|