Skip to content

Commit

Permalink
feat: pagination添加space (#1824)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ccppmmm committed Nov 23, 2022
1 parent a7cd89f commit ed77434
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/pagination/_example/more.vue
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
<template>
<div>
<span>展示首尾页码省略</span>
<t-pagination v-model="current" :total="100" :page-size.sync="pageSize" />
<span>不展示首尾页码省略</span>
<t-pagination v-model="current" page-ellipsis-mode="both-ends" :total="100" :page-size.sync="pageSize" />
<t-space direction="vertical" size="large" style="width: 100%">
<span>展示首尾页码省略</span>
<t-pagination v-model="current" :total="100" :page-size.sync="pageSize" />
<span>不展示首尾页码省略</span>
<t-pagination v-model="current" page-ellipsis-mode="both-ends" :total="100" :page-size.sync="pageSize" />
</t-space>
</div>
</template>

Expand Down

0 comments on commit ed77434

Please sign in to comment.