|
|
@ -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> |
|
|
|
|
|
|
|
) : undefined} |
|
|
|
|
|
|
|
</div> |
|
|
|