mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-11-07 02:57:11 +08:00
fix: 用户管理,字典管理上一下二布局影响table表格溢出不显示问题
This commit is contained in:
@@ -71,19 +71,12 @@
|
||||
<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="true" :pagination="false">
|
||||
v-bind="{ ...attrs, columns: _columns }" :scrollbar="true" >
|
||||
<template v-for="key in Object.keys(slots)" :key="key" #[key]="scoped">
|
||||
<slot :key="key" :name="key" v-bind="scoped"></slot>
|
||||
</template>
|
||||
</a-table>
|
||||
</div>
|
||||
<template v-if="attrs.pagination">
|
||||
<slot name="pagination-left"></slot>
|
||||
<slot name="custom-pagination" :pagination-props="attrs.pagination">
|
||||
<a-pagination v-bind="attrs.pagination" />
|
||||
</slot>
|
||||
<slot name="pagination-right"></slot>
|
||||
</template>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user