|
|
@@ -138,8 +138,12 @@
|
|
|
}
|
|
|
logistictraklistnotePageListAPI(params)
|
|
|
.then(res => {
|
|
|
- this.tabList[this.pickTabIndex].list = res.list
|
|
|
- isEnd = this.tabList[this.pickTabIndex].list >= res.count
|
|
|
+ if (page === 1) {
|
|
|
+ this.tabList[this.pickTabIndex].list = res.list
|
|
|
+ } else {
|
|
|
+ this.tabList[this.pickTabIndex].list = [...this.tabList[this.pickTabIndex].list, ...res.list]
|
|
|
+ }
|
|
|
+ isEnd = this.tabList[this.pickTabIndex].list.length >= res.count
|
|
|
uni.hideLoading()
|
|
|
})
|
|
|
.catch(() => {
|