Commit eb8dfc0a by zhanghaozhe

周年庆

parent 626c162f
...@@ -264,7 +264,7 @@ class Anniversary2020 extends Component { ...@@ -264,7 +264,7 @@ class Anniversary2020 extends Component {
const _records = Array.isArray(data) ? data : [] const _records = Array.isArray(data) ? data : []
this.setState(state => { this.setState(state => {
return { return {
prizeRecords: [...state.prizeRecords, ..._records], prizeRecords: _records,
prizeRecordsPagination: state.prizeRecordsPagination + 1, prizeRecordsPagination: state.prizeRecordsPagination + 1,
} }
}, () => { }, () => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment