TopicPanel.vue
548 Bytes
<script lang="ts" setup>
import { BasicTable, useTable } from '/@/components/Table';
import { getList, getTopicTableColumn } from './topic';
const [register] = useTable({
showIndexColumn: false,
dataSource: getList(),
columns: getTopicTableColumn(),
bordered: true,
showTableSetting: false,
pagination: { pageSize: 11, total: 11 },
});
</script>
<template>
<div>
<BasicTable @register="register" />
</div>
</template>
<style scoped>
:deep(.ant-table-body) {
overflow: scroll !important;
}
</style>