Commit c611be43d2d9008be140881a29e14401a3bd424d

Authored by guzijian
1 parent b8d9ea1b

fix: 修复table没有设置最大高度导致table数据过多,页面无法查看问题

src/views/template/template/index.vue
@@ -41,7 +41,7 @@ @@ -41,7 +41,7 @@
41 <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar> 41 <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
42 </el-row> 42 </el-row>
43 43
44 - <el-table v-loading="loading" :data="templateList" @selection-change="handleSelectionChange"> 44 + <el-table v-loading="loading" max-height="600" :data="templateList" @selection-change="handleSelectionChange">
45 <el-table-column type="selection" width="55" align="center" /> 45 <el-table-column type="selection" width="55" align="center" />
46 <el-table-column label="序号" type="index" width="60" align="center"> 46 <el-table-column label="序号" type="index" width="60" align="center">
47 <template #default="scope"> 47 <template #default="scope">