From a935450c18aa54589abce1c32bac4a18faeaea57 Mon Sep 17 00:00:00 2001
From: heyujie <516346543@qq.com>
Date: 星期四, 04 三月 2021 18:56:27 +0800
Subject: [PATCH] 数据推送bug修改
---
src/pages/library/components/personList.vue | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/pages/library/components/personList.vue b/src/pages/library/components/personList.vue
index 073c8a1..697ca59 100644
--- a/src/pages/library/components/personList.vue
+++ b/src/pages/library/components/personList.vue
@@ -175,10 +175,13 @@
</div>
<div class="pt5" style="height:40px;position:relative">
<el-pagination
+ @size-change="handleSizeChange"
@current-change="refrash"
:current-page="BaseManageData.page"
:page-size="BaseManageData.size"
+ :page-sizes="[10,20,50,100]"
style="position:absolute;right:10px;bottom:5px"
+ layout="total,sizes,prev,pager,next,jumper"
:total="BaseManageData.total"
></el-pagination>
</div>
@@ -725,6 +728,11 @@
this.BaseManageData.page = current;
this.getPersonList();
},
+ handleSizeChange(val){
+ //this.pageSize = val;
+ this.BaseManageData.size = val;
+ this.getPersonList();
+ },
handleClick(row) {
this.form = row;
this.dialogFormVisible = true;
--
Gitblit v1.8.0