Browse Source

去掉affixed

master_hella_20240701
yufei0306 8 months ago
parent
commit
a202e0b998
  1. 7
      src/components/Table/src/Table.vue

7
src/components/Table/src/Table.vue

@ -295,7 +295,7 @@ export default defineComponent({
return () => (
<div v-loading={unref(getProps).loading}>
<ElTable class="affix-container"
<ElTable
// @ts-ignore
ref={elTableRef}
data={unref(getProps).data}
@ -313,15 +313,12 @@ export default defineComponent({
{unref(getProps).pagination ? (
// update by Pagination
<ElAffix position="bottom" target=".affix-container" offset="50">
<ElPagination
v-model:pageSize={pageSizeRef.value}
v-model:currentPage={currentPageRef.value}
class="float-right mb-15px mt-15px"
{...unref(pagination)}
></ElPagination>
</ElAffix>
></ElPagination>
) : undefined}
</div>

Loading…
Cancel
Save