tiny-vue/examples/sites/demos/pc/app/pager/custom-layout-composition-a...

15 lines
386 B
Vue

<template>
<div>
<tiny-pager layout="total, sizes, prev, pager, next, slot, jumper" :total="1000">
<template #default>
<span>默认插槽</span>
</template>
</tiny-pager>
<tiny-pager layout="sizes, prev, current, next, total" :total="1000"></tiny-pager>
</div>
</template>
<script setup>
import { Pager as TinyPager } from '@opentiny/vue'
</script>