Commit 9c23457e authored by 夏敏伟's avatar 夏敏伟

修改公告排序以及解决分页bug

parent 088256df
This diff is collapsed.
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
<div class="pagination-div"> <div class="pagination-div">
<el-pagination class="myPagination" background layout="total, sizes, prev, pager, next, jumper" <el-pagination class="myPagination" background layout="total, sizes, prev, pager, next, jumper"
:current-page="pageObj.currentPage" :total="pageObj.total" @current-change="handleCurrentChange" :current-page="pageObj.currentPage" :total="pageObj.total" @current-change="handleCurrentChange"
@size-change="handleSizeChange" :page-size="pageObj.everySize" :page-sizes="[10, 20, 50, 100]"> @size-change="handleSizeChange" :page-size="pageObj.pageSize" :page-sizes="[10, 20, 50, 100]">
</el-pagination> </el-pagination>
</div> </div>
</div> </div>
...@@ -62,7 +62,7 @@ export default { ...@@ -62,7 +62,7 @@ export default {
meetingList: [], meetingList: [],
pageObj: { pageObj: {
currentPage: 1, currentPage: 1,
everySize: 10, pageSize: 10,
total: 0 total: 0
} }
} }
...@@ -107,7 +107,7 @@ export default { ...@@ -107,7 +107,7 @@ export default {
}, },
handleSizeChange(pageSize) { handleSizeChange(pageSize) {
this.pageObj.everySize = pageSize; this.pageObj.pageSize = pageSize;
this.searchChatList(); this.searchChatList();
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment