From a03f27c5edaab17263891dd2bc1e4e70fb96096c Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期二, 10 二月 2026 10:25:56 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/dingyuannongji
---
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