mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-31 22:18:07 +08:00
feat: 应用列表顶部增加页码切换 (#2457)
Refs https://github.com/1Panel-dev/1Panel/issues/2293
This commit is contained in:
parent
fa420b9346
commit
5dc5b17bea
@ -42,7 +42,7 @@
|
|||||||
<el-divider direction="vertical" />
|
<el-divider direction="vertical" />
|
||||||
<slot name="buttons"></slot>
|
<slot name="buttons"></slot>
|
||||||
</span>
|
</span>
|
||||||
<span style="float: right">
|
<span class="float-right">
|
||||||
<slot v-if="slots.rightButton" name="rightButton"></slot>
|
<slot v-if="slots.rightButton" name="rightButton"></slot>
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
|
@ -64,11 +64,20 @@
|
|||||||
</el-row>
|
</el-row>
|
||||||
</template>
|
</template>
|
||||||
<template #rightButton>
|
<template #rightButton>
|
||||||
<el-badge is-dot class="item" :hidden="!canUpdate">
|
<div class="flex justify-end">
|
||||||
<el-button @click="sync" type="primary" link :plain="true" :disabled="syncing">
|
<fu-table-pagination
|
||||||
{{ $t('app.syncAppList') }}
|
v-model:current-page="paginationConfig.currentPage"
|
||||||
</el-button>
|
v-model:page-size="paginationConfig.pageSize"
|
||||||
</el-badge>
|
v-bind="paginationConfig"
|
||||||
|
@change="search(req)"
|
||||||
|
:layout="mobile ? ' prev, pager, next' : ' prev, pager, next'"
|
||||||
|
/>
|
||||||
|
<el-badge is-dot :hidden="!canUpdate" class="ml-5">
|
||||||
|
<el-button @click="sync" type="primary" plain :disabled="syncing">
|
||||||
|
{{ $t('app.syncAppList') }}
|
||||||
|
</el-button>
|
||||||
|
</el-badge>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template #main>
|
<template #main>
|
||||||
<el-alert type="info" :title="$t('app.appHelper')" :closable="false" />
|
<el-alert type="info" :title="$t('app.appHelper')" :closable="false" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user