From 1af395ecb948a9d0af14aa72d7fc8025e849e6bc Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期四, 22 一月 2026 19:20:32 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 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