From 3f9032e92fdd383bfefc87a0bec9b242e1223851 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期二, 09 六月 2026 17:08:44 +0800
Subject: [PATCH] 改bug

---
 app/pages/wallet/wallet.vue |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/app/pages/wallet/wallet.vue b/app/pages/wallet/wallet.vue
index 2ac61a9..f89d304 100644
--- a/app/pages/wallet/wallet.vue
+++ b/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)

--
Gitblit v1.9.3