From 3d9c09c614bc6c24b69e03a9c68f839e9f3cae29 Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期一, 09 二月 2026 18:23:34 +0800
Subject: [PATCH] a
---
admin/src/components/base/BaseTable.vue | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/admin/src/components/base/BaseTable.vue b/admin/src/components/base/BaseTable.vue
index ccdafc0..94e3169 100644
--- a/admin/src/components/base/BaseTable.vue
+++ b/admin/src/components/base/BaseTable.vue
@@ -33,6 +33,7 @@
sorts: [],
// 褰撳墠椤垫暟鎹�
list: [],
+ totalData:{},
// 鍒嗛〉
pagination: {
pageIndex: 1,
@@ -124,6 +125,9 @@
.then(data => {
this.tableData.list = data.records
this.tableData.pagination.total = data.total
+ if (this.tableData.pagination.pageIndex === 1) {
+ this.tableData.totalData = data.countData || {}
+ }
})
.catch(e => {
this.$tip.apiFailed(e)
--
Gitblit v1.9.3