mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-03 01:40:21 +08:00
fix(frontend): 密钥列表分页控件固定在底部
This commit is contained in:
@@ -208,6 +208,7 @@
|
|||||||
v-if="allKeys.length > 0"
|
v-if="allKeys.length > 0"
|
||||||
ref="keysListRef"
|
ref="keysListRef"
|
||||||
class="divide-y divide-border/40"
|
class="divide-y divide-border/40"
|
||||||
|
:class="shouldPaginateKeys && 'flex flex-col'"
|
||||||
:style="keysFixedHeight ? { minHeight: keysFixedHeight + 'px' } : undefined"
|
:style="keysFixedHeight ? { minHeight: keysFixedHeight + 'px' } : undefined"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
@@ -826,7 +827,7 @@
|
|||||||
<!-- 分页控制 -->
|
<!-- 分页控制 -->
|
||||||
<div
|
<div
|
||||||
v-if="shouldPaginateKeys"
|
v-if="shouldPaginateKeys"
|
||||||
class="px-4 py-2 flex items-center justify-between text-xs text-muted-foreground"
|
class="px-4 py-2 flex items-center justify-between text-xs text-muted-foreground mt-auto"
|
||||||
>
|
>
|
||||||
<span>共 {{ allKeys.length }} 个{{ provider.provider_type === 'custom' ? '密钥' : '账号' }}</span>
|
<span>共 {{ allKeys.length }} 个{{ provider.provider_type === 'custom' ? '密钥' : '账号' }}</span>
|
||||||
<div class="flex items-center gap-1.5">
|
<div class="flex items-center gap-1.5">
|
||||||
|
|||||||
Reference in New Issue
Block a user