🌐 AI搜索 & 代理 主页
Skip to content

Commit 616172d

Browse files
authored
Update icons-table.vue
1 parent 2ce0c5e commit 616172d

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

docs/components/icons-table.vue

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,20 @@
4040
</b-card>
4141
<b-form-text class="mt-1 text-break" :title="icon.name">{{ icon.name }}</b-form-text>
4242
</b-col>
43-
<b-col key="__infinite_scroll__" v-b-visible.2500="onInfinite" tag="li" class="text-center">
44-
<template v-if="currentPageSize < filteredIcons.length">
45-
<b-button block variant="outline-secondary" class="mt-3">
46-
Load more icons
47-
</b-button>
48-
</template>
43+
<b-col
44+
key="__infinite_scroll__"
45+
v-b-visible.250="onInfinite"
46+
v-show="currentPageSize < filteredIcons.length"
47+
tag="li"
48+
>
49+
<b-button
50+
block
51+
variant="outline-secondary"
52+
class="mt-3"
53+
@click="onInfinite(true)"
54+
>
55+
Load more icons
56+
</b-button>
4957
</b-col>
5058
</transition-group>
5159
<div aria-live="polite" aria-atomic="true">

0 commit comments

Comments
 (0)