This commit is contained in:
oneao committed 2026-10-09 17:32:14 +08:00
1 parent e99a9fb274
commit 0be0b0767a
788 files changed
+112023 -14941

No files matched your search

@@ -5,21 +5,14 @@ import { G3Pagination } from '@g3soft/ui'
const current = ref(1)
const pageSize = ref(20)
const lastEvent = ref('暂无')
</script>
<template>
<div>
<G3Pagination
v-model:current="current"
v-model:page-size="pageSize"
:total="286"
:page-size-options="[10, 20, 50, 100]"
show-size-changer
@show-size-change="(page: number, size: number) => (lastEvent = `切换每页 ${size} 条,当前第 ${page} 页`)"
/>
<p style="margin: 8px 0 0; font-size: 13px; color: #6b7280">
每页 {{ pageSize }} 条|{{ lastEvent }}
</p>
</div>
<G3Pagination
v-model:current="current"
v-model:page-size="pageSize"
:total="286"
:page-size-options="[10, 20, 50, 100]"
show-size-changer
/>
</template>