28040
This commit is contained in:
@@ -92,7 +92,7 @@ export default {
|
||||
}
|
||||
}).then(res=>{
|
||||
if(res?.data) {
|
||||
this.data = this.current >1 ? [...this.data, ...this.res.data.records] : res.data.records
|
||||
this.data = this.current >1 ? res.data.records:[...this.data, ...res.data.records]
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
@@ -80,7 +80,7 @@ export default {
|
||||
}
|
||||
}).then(res=>{
|
||||
if(res?.data) {
|
||||
this.villagerList = this.current >1 ? [...this.villagerList,...res.data.records] : res.data.records
|
||||
this.villagerList = this.current >1 ? res.data.records:[...this.villagerList,...res.data.records]
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user