docs(Pagination): improve document

This commit is contained in:
chenjiahan
2020-10-01 17:16:25 +08:00
parent 27822b2e5e
commit 18312ce9e9
3 changed files with 15 additions and 7 deletions
+3 -3
View File
@@ -23,8 +23,8 @@
<demo-block :title="t('title3')">
<van-pagination
force-ellipses
v-model="currentPage3"
force-ellipses
:total-items="125"
:show-page-size="3"
:prev-text="t('prevText')"
@@ -56,14 +56,14 @@ export default {
'zh-CN': {
title2: '简单模式',
title3: '显示省略号',
title4: '自定义渲染',
title4: '自定义按钮',
prevText: '上一页',
nextText: '下一页',
},
'en-US': {
title2: 'Simple Mode',
title3: 'Show ellipses',
title4: 'Custom Render',
title4: 'Custom Button',
prevText: 'Prev',
nextText: 'Next',
},