fix: 修复用户管理分页条消失错误,优化表格 slot 命名

This commit is contained in:
2024-10-13 15:50:02 +08:00
parent 50a6d17516
commit 6a77168645
17 changed files with 43 additions and 40 deletions

View File

@@ -7,12 +7,15 @@
</slot>
</a-space>
</a-row>
<a-row>
<slot name="top"></slot>
</a-row>
<a-row justify="space-between" align="center" class="gi-table__toolbar">
<a-space wrap class="gi-table__toolbar-left" :size="[8, 8]">
<slot name="custom-left"></slot>
<slot name="toolbar-left"></slot>
</a-space>
<a-space wrap class="gi-table__toolbar-right" :size="[8, 8]">
<slot name="custom-right"></slot>
<slot name="toolbar-right"></slot>
<a-tooltip content="刷新">
<a-button v-if="showRefreshBtn" @click="refresh">
<template #icon><icon-refresh /></template>