fix : 上传文件表格滚动时, 表头固定

This commit is contained in:
2024-07-13 14:18:47 +08:00
parent 3e1db9c1a4
commit b1309fae57
11 changed files with 11 additions and 23 deletions

View File

@@ -21,7 +21,7 @@
</el-form-item>
</el-form>
<el-card style="width: 100%">
<fvTable style="width: 100%;max-height: 250px" v-if="showTable" :tableConfig="tableConfig"
<fvTable style="width: 100%;max-height: 250px" v-if="showTable" height="250" :tableConfig="tableConfig"
:data="fileList" :isSettingCol="false" :pagination="false">
<template #empty>
<el-empty :image-size="90" description="暂无数据" style="padding: 0"/>
@@ -66,7 +66,6 @@ const tableConfig = reactive({
prop: 'originalFileName',
label: '附件名称',
align: 'center',
fixed:true
},
{
prop: 'tag',