From 87e331767b3ce416c957b7336e94b9ba208f0efb Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期四, 16 四月 2026 18:08:31 +0800
Subject: [PATCH] 维护
---
src/views/business/affirm/index.vue | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/views/business/affirm/index.vue b/src/views/business/affirm/index.vue
index 4866a74..4ab4aed 100644
--- a/src/views/business/affirm/index.vue
+++ b/src/views/business/affirm/index.vue
@@ -358,15 +358,15 @@
if (Array.isArray(response.data)) {
// 濡傛灉杩斿洖鐨勬槸鏁扮粍
this.confirmationList = response.data;
- this.total = response.data.length;
+ this.total = response.total;
} else if (response.data.rows) {
// 濡傛灉杩斿洖鐨勬槸鍒嗛〉鏁版嵁缁撴瀯
this.confirmationList = response.data.rows;
- this.total = response.data.total;
+ this.total = response.total;
} else if (Array.isArray(response.data.list)) {
// 濡傛灉杩斿洖鐨勬槸list瀛楁
this.confirmationList = response.data.list;
- this.total = response.data.total || response.data.list.length;
+ this.total = response.total;
} else {
// 鍏朵粬鏁版嵁缁撴瀯锛屽皾璇曠洿鎺ヤ娇鐢╠ata
this.confirmationList = response.data;
--
Gitblit v1.9.3