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

This commit is contained in:
2024-07-13 13:23:28 +08:00
parent e4ecd22c2e
commit 3e1db9c1a4
11 changed files with 13 additions and 1 deletions

View File

@@ -82,7 +82,7 @@
/>
<baseTitle title="申请文件"></baseTitle>
<file-upload v-if="checkFormPrem('fileList')" @getFile="getFile"/>
<fvTable style="width: 100%;max-height: 300px;" v-if="showTable"
<fvTable style="width: 100%;max-height: 300px;" height="300" v-if="showTable"
:tableConfig="tableConfig" :data="formData.fileList"
:isSettingCol="false" :pagination="false" perm="EDIT">
<template #empty>
@@ -183,6 +183,7 @@ const tableConfig = reactive({
label: '序号',
align: 'center',
width: '80',
fixed:true
},
{
prop: 'originalFileName',