From 94304b8061ceb025860d379c592255093e7db349 Mon Sep 17 00:00:00 2001
From: 孔祥富 <kongxf@daryun.com>
Date: 星期二, 23 三月 2021 15:17:29 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 src/views/dashboard/ctUser.vue |   32 +++++++++++++++++---------------
 1 files changed, 17 insertions(+), 15 deletions(-)

diff --git a/src/views/dashboard/ctUser.vue b/src/views/dashboard/ctUser.vue
index 8846878..1336805 100644
--- a/src/views/dashboard/ctUser.vue
+++ b/src/views/dashboard/ctUser.vue
@@ -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