废话不说直接上代码
<a-table :scroll="{ x: 'max-content' }" :pagination="pagination" :columns="columns" :data-source="data" :rowKey="(record) =>record.no" :loading='loading' @change="handleTableChange">
:scroll="{ x: 'max-content' }"
这样就可以了
废话不说直接上代码
<a-table :scroll="{ x: 'max-content' }" :pagination="pagination" :columns="columns" :data-source="data" :rowKey="(record) =>record.no" :loading='loading' @change="handleTableChange">
:scroll="{ x: 'max-content' }"
这样就可以了