🎨 updateel-pagination
config
This commit is contained in:
parent
095cd0c90c
commit
89b4b74b9f
@ -41,11 +41,13 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
<el-col>
|
<el-col>
|
||||||
<div class="vertical-container text-center">
|
<div class="vertical-container text-center">
|
||||||
<el-pagination v-show="articles.pagination.total > articles.pagination.pageSize" v-model="articles.pagination"
|
<el-pagination :hide-on-single-page="true" v-model="articles.pagination"
|
||||||
layout="prev, pager, next"
|
layout="prev, pager, next"
|
||||||
:page-size="articles.pagination.pageSize"
|
:page-size="articles.pagination.pageSize"
|
||||||
:current-page="articles.pagination.currentPage"
|
:current-page="articles.pagination.currentPage"
|
||||||
:total="articles.pagination.total"
|
:total="articles.pagination.total"
|
||||||
|
prev-text="上一页"
|
||||||
|
next-text="下一页"
|
||||||
@current-change="currentChange">
|
@current-change="currentChange">
|
||||||
</el-pagination>
|
</el-pagination>
|
||||||
</div>
|
</div>
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
<el-col>
|
<el-col>
|
||||||
<div class="vertical-container text-center">
|
<div class="vertical-container text-center">
|
||||||
<el-pagination v-show="articles.pagination.total > 10" v-model="articles.pagination"
|
<el-pagination :hide-on-single-page="true" v-model="articles.pagination"
|
||||||
layout="prev, pager, next"
|
layout="prev, pager, next"
|
||||||
:current-page="articles.pagination.currentPage"
|
:current-page="articles.pagination.currentPage"
|
||||||
:total="articles.pagination.total"
|
:total="articles.pagination.total"
|
||||||
|
@ -55,7 +55,7 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
<el-col>
|
<el-col>
|
||||||
<div class="vertical-container text-center">
|
<div class="vertical-container text-center">
|
||||||
<el-pagination v-show="notifications.pagination.total > 10" v-model="notifications.pagination"
|
<el-pagination :hide-on-single-page="true" v-model="notifications.pagination"
|
||||||
layout="prev, pager, next"
|
layout="prev, pager, next"
|
||||||
:current-page="notifications.pagination.currentPage"
|
:current-page="notifications.pagination.currentPage"
|
||||||
:total="notifications.pagination.total"
|
:total="notifications.pagination.total"
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
<el-col>
|
<el-col>
|
||||||
<div class="vertical-container text-center">
|
<div class="vertical-container text-center">
|
||||||
<el-pagination v-show="portfolios.pagination.total > 10" v-model="portfolios.pagination"
|
<el-pagination :hide-on-single-page="true" v-model="portfolios.pagination"
|
||||||
layout="prev, pager, next"
|
layout="prev, pager, next"
|
||||||
:current-page="portfolios.pagination.currentPage"
|
:current-page="portfolios.pagination.currentPage"
|
||||||
:total="portfolios.pagination.total"
|
:total="portfolios.pagination.total"
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
<el-col>
|
<el-col>
|
||||||
<div class="vertical-container text-center">
|
<div class="vertical-container text-center">
|
||||||
<el-pagination v-show="articles.pagination.total > 10" v-model="articles.pagination"
|
<el-pagination :hide-on-single-page="true" v-model="articles.pagination"
|
||||||
layout="prev, pager, next"
|
layout="prev, pager, next"
|
||||||
:current-page="articles.pagination.currentPage"
|
:current-page="articles.pagination.currentPage"
|
||||||
:total="articles.pagination.total"
|
:total="articles.pagination.total"
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
<el-col>
|
<el-col>
|
||||||
<div class="vertical-container text-center">
|
<div class="vertical-container text-center">
|
||||||
<el-pagination v-show="articles.pagination.total > 10" v-model="articles.pagination"
|
<el-pagination :hide-on-single-page="true" v-model="articles.pagination"
|
||||||
layout="prev, pager, next"
|
layout="prev, pager, next"
|
||||||
:current-page="articles.pagination.currentPage"
|
:current-page="articles.pagination.currentPage"
|
||||||
:total="articles.pagination.total"
|
:total="articles.pagination.total"
|
||||||
|
@ -54,6 +54,7 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
<el-col>
|
<el-col>
|
||||||
<el-pagination
|
<el-pagination
|
||||||
|
:hide-on-single-page="true"
|
||||||
@size-change="handleSizeChange"
|
@size-change="handleSizeChange"
|
||||||
@current-change="handleCurrentChange"
|
@current-change="handleCurrentChange"
|
||||||
:current-page="pagination.currentPage"
|
:current-page="pagination.currentPage"
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
<el-col>
|
<el-col>
|
||||||
<div class="vertical-container text-center">
|
<div class="vertical-container text-center">
|
||||||
<el-pagination v-show="pagination.total > 10" v-model="pagination"
|
<el-pagination :hide-on-single-page="true" v-model="pagination"
|
||||||
layout="prev, pager, next"
|
layout="prev, pager, next"
|
||||||
:current-page="pagination.currentPage"
|
:current-page="pagination.currentPage"
|
||||||
:total="pagination.total"
|
:total="pagination.total"
|
||||||
|
@ -54,7 +54,7 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
<el-col>
|
<el-col>
|
||||||
<div class="vertical-container text-center">
|
<div class="vertical-container text-center">
|
||||||
<el-pagination v-show="pagination.total > 10" v-model="pagination"
|
<el-pagination :hide-on-single-page="true" v-model="pagination"
|
||||||
layout="prev, pager, next"
|
layout="prev, pager, next"
|
||||||
:current-page="pagination.currentPage"
|
:current-page="pagination.currentPage"
|
||||||
:total="pagination.total"
|
:total="pagination.total"
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
<el-col>
|
<el-col>
|
||||||
<div class="vertical-container text-center">
|
<div class="vertical-container text-center">
|
||||||
<el-pagination v-show="pagination.total > 10" v-model="pagination"
|
<el-pagination :hide-on-single-page="true" v-model="pagination"
|
||||||
layout="prev, pager, next"
|
layout="prev, pager, next"
|
||||||
:current-page="pagination.currentPage"
|
:current-page="pagination.currentPage"
|
||||||
:total="pagination.total"
|
:total="pagination.total"
|
||||||
|
@ -72,6 +72,7 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
<el-col>
|
<el-col>
|
||||||
<el-pagination
|
<el-pagination
|
||||||
|
:hide-on-single-page="true"
|
||||||
@size-change="handleSizeChange"
|
@size-change="handleSizeChange"
|
||||||
@current-change="handleCurrentChange"
|
@current-change="handleCurrentChange"
|
||||||
:current-page="pagination.currentPage"
|
:current-page="pagination.currentPage"
|
||||||
|
Loading…
Reference in New Issue
Block a user