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

@@ -16,7 +16,7 @@
<baseTitle title="其他文件"></baseTitle>
<el-card style="width: 100%;margin: 15px 0">
<file-upload @getFile="getFiles"/>
<fvTable style="width: 100%;max-height: 250px;height: 250px" v-if="showTable" :tableConfig="tableConfig"
<fvTable style="width: 100%;max-height: 250px;height: 250px" height="250" v-if="showTable" :tableConfig="tableConfig"
:data="fileList" :isSettingCol="false" :pagination="false">
<template #empty>
<el-empty :image-size="90" description="暂无数据" style="padding: 0"/>
@@ -56,7 +56,6 @@ const tableConfig = reactive({
label: '序号',
align: 'center',
width: '80',
fixed:true
},
{
prop: 'originalFileName',