From 5b2dd794ec680d47e907ff43a264a7f82c30a130 Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期二, 18 十月 2022 16:23:55 +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