大数据列表的分页导航
该页面由 AI 迁移生成,请谨慎使用
内容已迁移完成,但仍建议结合源码和人工评审结果使用。
用于数据列表或表格的分页切换。
在多页数据间切换。
复制<script setup lang="ts"> import { ref } from 'vue' const page = ref(1) </script> <template> <TxPagination v-model:current-page="page" :total="120" :page-size="10" show-info show-first-last /> </template>
<script setup lang="ts"> import { ref } from 'vue' const page = ref(1) </script> <template> <TxPagination v-model:current-page="page" :total="120" :page-size="10" show-info show-first-last /> </template>