From fe631515b71782a10a750874f6d4582fe027cd22 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 03 十一月 2025 09:32:49 +0800
Subject: [PATCH] 公司-所有的表格添加斑马纹

---
 src/components/PIMTable/PIMTable.vue |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/components/PIMTable/PIMTable.vue b/src/components/PIMTable/PIMTable.vue
index d1b778d..a89aa96 100644
--- a/src/components/PIMTable/PIMTable.vue
+++ b/src/components/PIMTable/PIMTable.vue
@@ -15,6 +15,7 @@
     :expand-row-keys="expandRowKeys"
     :show-summary="isShowSummary"
     :summary-method="summaryMethod"
+    stripe
     @row-click="rowClick"
     @current-change="currentChange"
     @selection-change="handleSelectionChange"
@@ -207,8 +208,8 @@
     </el-table-column>
   </el-table>
   <pagination
-    v-show="total > 0"
-    :total="total"
+    v-if="page.total > 0"
+    :total="page.total"
     :layout="page.layout"
     :page="page.current"
     :limit="page.size"
@@ -245,7 +246,7 @@
   },
   height: {
     type: [Number, String],
-    default: "calc(100vh - 18.5em)",
+    default: "calc(100vh - 22em)",
   },
   expandRowKeys: {
     type: Array,
@@ -301,7 +302,7 @@
   },
   rowKey: {
     type: String,
-    default: undefined,
+    default: 'id',
   },
   page: {
     type: Object,

--
Gitblit v1.9.3