From d62d67dc663b2b45411e11da11357419926cc76f Mon Sep 17 00:00:00 2001
From: yubo <autumnal_wind@yeah.net>
Date: 星期四, 12 三月 2026 08:55:14 +0800
Subject: [PATCH] perf(dashboard): 将用户表格分页大小从5调整为15

---
 src/views/dashboard/ctUser.vue |   34 ++++++++++++++++++----------------
 1 files changed, 18 insertions(+), 16 deletions(-)

diff --git a/src/views/dashboard/ctUser.vue b/src/views/dashboard/ctUser.vue
index 8846878..a1165b9 100644
--- a/src/views/dashboard/ctUser.vue
+++ b/src/views/dashboard/ctUser.vue
@@ -106,7 +106,7 @@
       }, // 查询参数
       sort: {}, // 排序
       pagination: { // 分页参数
-        size: 5,
+        size: 15,
         num: 1
       },
       list: [], // 给table显示的数据
@@ -129,21 +129,23 @@
     }
   },
   mounted() {
-    this.getDicts('EDUCATION').then(response => {
-      this.educationOptions = response.data
-    })
-    this.getDicts('NATIVEPLACE').then(response => {
-      this.nativePlaceOptions = response.data
-    })
-    this.getDicts('sex').then(response => {
-      this.sexOptions = response.data
-    })
-    this.getDicts('empType').then(response => {
-      this.empTypeOptions = response.data
-    })
-    this.getDicts('NATION').then(response => {
-      this.nationOptions = response.data
-    })
+    setTimeout(() => {
+      this.getDicts('EDUCATION').then(response => {
+        this.educationOptions = response.data
+      })
+      this.getDicts('NATIVEPLACE').then(response => {
+        this.nativePlaceOptions = response.data
+      })
+      this.getDicts('sex').then(response => {
+        this.sexOptions = response.data
+      })
+      this.getDicts('empType').then(response => {
+        this.empTypeOptions = response.data
+      })
+      this.getDicts('NATION').then(response => {
+        this.nationOptions = response.data
+      })
+    }, 1000)
   },
   methods: {
     educationFormat(row, column) {

--
Gitblit v1.8.0