审计内容3添加固定表头

This commit is contained in:
2025-10-30 20:39:48 +08:00
parent 2d0fb21d0c
commit 1fa9d24428

View File

@@ -190,7 +190,7 @@
</a-space> </a-space>
</div> </div>
</template> </template>
<a-table :columns="item.columns" bordered :data-source="item.data"> <a-table :columns="item.columns" :scroll="{ y: 500 }" bordered :data-source="item.data">
<template #bodyCell="{ column, record }"> <template #bodyCell="{ column, record }">
<template v-if="column.key === 'action'"> <template v-if="column.key === 'action'">
<a-button type="primary" danger>删除</a-button> <a-button type="primary" danger>删除</a-button>