fix: 修复表格固定操作列滚动时的错位样式问题

This commit is contained in:
段新月
2024-07-18 10:13:41 +00:00
committed by Charles7c
parent e8c1d4b69b
commit ce297c0904

View File

@@ -71,7 +71,7 @@
<div class="gi-table__body" :class="`gi-table__body-pagination-${attrs['page-position']}`">
<div class="gi-table__container">
<a-table ref="tableRef" :stripe="stripe" :size="size" column-resizable :bordered="{ cell: isBordered }"
v-bind="{ ...attrs, columns: _columns }" :scrollbar="false" :pagination="false">
v-bind="{ ...attrs, columns: _columns }" :scrollbar="true" :pagination="false">
<template v-for="key in Object.keys(slots)" :key="key" #[key]="scoped">
<slot :key="key" :name="key" v-bind="scoped"></slot>
</template>