:bugs: 消息界面分页问题修复

This commit is contained in:
ronger 2021-02-24 09:22:25 +08:00
parent e23ac32e5a
commit 59e1c3dbc9

View File

@ -57,8 +57,11 @@
<div class="vertical-container text-center"> <div class="vertical-container text-center">
<el-pagination :hide-on-single-page="true" v-model="notifications.pagination" <el-pagination :hide-on-single-page="true" v-model="notifications.pagination"
layout="prev, pager, next" layout="prev, pager, next"
:page-size="notifications.pagination.pageSize"
:current-page="notifications.pagination.currentPage" :current-page="notifications.pagination.currentPage"
:total="notifications.pagination.total" :total="notifications.pagination.total"
prev-text="上一页"
next-text="下一页"
@current-change="currentChange"> @current-change="currentChange">
</el-pagination> </el-pagination>
</div> </div>