bug
This commit is contained in:
@@ -68,12 +68,10 @@
|
||||
getList() {
|
||||
if (this.pageNum > this.pages) return
|
||||
this.$instance.post(`/app/appgeneralelectioninfo/list-xcx?partyId=${this.partyId}¤t=${this.pageNum}&size=${this.pageSize}`, null, {}).then(res => {
|
||||
console.log(res)
|
||||
if (res.code == 0) {
|
||||
const list = this.pageNum > 1 ? [...this.list, ...res.data.records] : res.data.records
|
||||
this.pages = Math.ceil(res.data.total / 10)
|
||||
this.list = list
|
||||
console.log(this.list)
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user