This commit is contained in:
shijingjing
2022-03-04 11:43:25 +08:00
parent c38a650470
commit 7c47b51399
3 changed files with 3 additions and 3 deletions

View File

@@ -82,7 +82,7 @@ export default {
} }
}).then(res => { }).then(res => {
if(res?.data){ if(res?.data){
this.integralList = this.current > 1 ? [...this.integralList, ...res.data.records] : res.data.records this.integralList = this.current > 1 ? res.data.records:[...this.integralList, ...res.data.records]
this.$forceUpdate() this.$forceUpdate()
this.flag = true this.flag = true
} }

View File

@@ -92,7 +92,7 @@ export default {
} }
}).then(res=>{ }).then(res=>{
if(res?.data) { 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]
} }
}) })
}, },

View File

@@ -80,7 +80,7 @@ export default {
} }
}).then(res=>{ }).then(res=>{
if(res?.data) { 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]
} }
}) })
}, },