From d22f9b9278303f340e2f8efd6f5a98f0b614c05c Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期一, 17 十月 2022 18:03:36 +0800
Subject: [PATCH] 部门功能修改

---
 src/views/systemSetting/baseSetting/authority/index.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/views/systemSetting/baseSetting/authority/index.vue b/src/views/systemSetting/baseSetting/authority/index.vue
index 4270934..21c4cc2 100644
--- a/src/views/systemSetting/baseSetting/authority/index.vue
+++ b/src/views/systemSetting/baseSetting/authority/index.vue
@@ -94,7 +94,7 @@
             updateFlag: false,
             userInfo: '',
             totalNum: 200,
-            pageSize: 10,
+            pageSize: 4,
             currentPage: 1,
         }
     },
@@ -129,7 +129,7 @@
                         item.status == 1 ? item.status = true : item.status = false;
                     })
                     that.totalNum = res.data.records.length;
-                    that.tableData = res.data.records.slice((that.currentPage - 1) * 10, that.currentPage * 10)
+                    that.tableData = res.data.records;
                 }
             })
         },
@@ -186,7 +186,7 @@
                         item.status == 1 ? item.status = true : item.status = false;
                     })
                     that.totalNum = res.data.records.length;
-                    that.tableData = res.data.records.slice((that.currentPage - 1) * 10, that.currentPage * 10)
+                    that.tableData = res.data.records;
                 }
             })
         }

--
Gitblit v1.8.0