fix: style

This commit is contained in:
xingyuv 2023-02-14 16:13:59 +08:00
parent 2ebcb72215
commit 4d4f8841dc

View File

@ -18,9 +18,16 @@
<div style="width: 100%; height: 600px"> <div style="width: 100%; height: 600px">
<el-auto-resizer> <el-auto-resizer>
<template #default="{ height, width }"> <template #default="{ height, width }">
<el-table-v2 :columns="columns" :data="tableData" :width="width" :height="height" fixed /> <el-table-v2
:columns="columns"
:data="tableData"
:width="width"
:height="height - 50"
fixed
/>
</template> </template>
</el-auto-resizer> </el-auto-resizer>
</div>
<div class="mt-2"> <div class="mt-2">
<el-pagination <el-pagination
:current-page="queryParms.pageNo" :current-page="queryParms.pageNo"
@ -31,7 +38,6 @@
@current-change="getList" @current-change="getList"
/> />
</div> </div>
</div>
</ContentWrap> </ContentWrap>
</template> </template>
<script setup lang="tsx"> <script setup lang="tsx">
@ -122,7 +128,7 @@ const queryParms = reactive({
title: '', title: '',
status: undefined, status: undefined,
pageNo: 1, pageNo: 1,
pageSize: 10 pageSize: 100
}) })
const getList = async () => { const getList = async () => {