MrShi
2026-06-09 3f9032e92fdd383bfefc87a0bec9b242e1223851
app/pages/wallet/wallet.vue
@@ -250,6 +250,12 @@
               this.hasNext = true
               this.dataList=[]
            }
            console.log({
                  startTime: this.startDate || this.defaultStartDate,
                  endTime: this.endDate || this.defaultEndDate,
                  type: this.type,
                  optType: this.active === 1?1:(this.active === 2?-1:'')
               })
            this.$u.api.driverPage({
               capacity: 10,
               model: {
@@ -260,16 +266,12 @@
               },
               page: this.currentPage
            }).then(res => {
               console.log(res)
               if (res.code == 200) {
                  const records = res.data.records || []
                  console.log(res.data.pageCount)
                  this.dataList.push(...records)
                  console.log(records)
                  console.log(this.dataList)
                  this.total = res.data.pageCount
                  this.total = res.data.total
                  this.currentPage++
                  this.hasNext = this.dataList.length < res.data.pageCount
                  this.hasNext = this.dataList.length < res.data.total
               }
            }).catch(err => {
               console.log(err)