From 8cfb6bcb635be59296d305eec7755ecc6f420e27 Mon Sep 17 00:00:00 2001
From: pyt <626651354@qq.com>
Date: 星期四, 03 四月 2025 16:31:16 +0800
Subject: [PATCH] feat

---
 src/components/TableSlot/index.vue |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/components/TableSlot/index.vue b/src/components/TableSlot/index.vue
index 5021749..e3d2130 100644
--- a/src/components/TableSlot/index.vue
+++ b/src/components/TableSlot/index.vue
@@ -12,7 +12,7 @@
                 </div>
             </template>
             <template v-if="$slots.table">
-                <Table :data="tableData" :total="total" :queryForm="queryForm" @currentChange="handleCurrentChange"
+                <Table :data="tableData" :total="total" :height="height" :queryForm="queryForm" @currentChange="handleCurrentChange"
                     @sizeChange="handleSizeChange">
                     <slot name="table"></slot>
                 </Table>
@@ -23,11 +23,16 @@
 
 <script>
 import Table from '../Table/index.vue'
+import Vue from 'vue'
 export default {
     components: {
         Table,
     },
     props: {
+        height: {
+            type: Number,
+            default: () => Vue.prototype.$baseTableHeight()
+        },
         tableData: {
             type: Array,
             default: () => []

--
Gitblit v1.7.1