Browse Source

fix: 消毒记录表头固定

master
guoapeng 3 weeks ago
parent
commit
a0eb86b69a
  1. 4
      src/components/setting/History.vue

4
src/components/setting/History.vue

@ -114,7 +114,7 @@ const onClose = () => {
/>
</div>
<div class="history-table">
<el-table :data="tableData" style="width: 100%" @selection-change="handleSelectionChange">
<el-table :data="tableData" style="width: 100%;" height="100%" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" />
<el-table-column prop="name" label="消毒日期" />
<el-table-column prop="detail" label="操作" width="100">
@ -143,7 +143,7 @@ const onClose = () => {
margin: 2vw;
}
.history-table{
max-height: 73vh;
height: 73vh;
overflow: auto;
}
}

Loading…
Cancel
Save