<script lang="ts" setup>
  import { BasicTable, useTable } from '/@/components/Table';
  import { list, topicTableColumn } from './topic';

  const [register] = useTable({
    showIndexColumn: false,
    dataSource: list,
    columns: topicTableColumn,
    bordered: true,
    showTableSetting: false,
    pagination: { pageSize: 11, total: 11 },
  });
</script>

<template>
  <div>
    <BasicTable @register="register" />
  </div>
</template>
<style scoped>
  :deep(.ant-table-body) {
    overflow: hidden !important;
  }
</style>
