You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
394 B
32 lines
394 B
3 years ago
|
<docs>
|
||
|
---
|
||
|
order: 0
|
||
|
title:
|
||
|
zh-CN: 基本
|
||
|
en-US: Basic
|
||
|
---
|
||
|
|
||
|
## zh-CN
|
||
|
|
||
|
基础分页。
|
||
|
|
||
|
## en-US
|
||
|
|
||
|
Basic pagination.
|
||
|
|
||
|
</docs>
|
||
|
|
||
|
<template>
|
||
|
<a-pagination v-model:current="current" :total="50" show-less-items />
|
||
|
</template>
|
||
|
<script lang="ts">
|
||
|
import { defineComponent, ref } from 'vue';
|
||
|
export default defineComponent({
|
||
|
setup() {
|
||
|
return {
|
||
|
current: ref(2),
|
||
|
};
|
||
|
},
|
||
|
});
|
||
|
</script>
|