From eaaa5b7839f08ddae008bd9fba3fa432b689b9af Mon Sep 17 00:00:00 2001
From: long <515897141@qq.com>
Date: 星期四, 15 七月 2021 18:42:58 +0800
Subject: [PATCH] 功能展示页,添加 导出、导入

---
 src/pages/system/admin.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/pages/system/admin.vue b/src/pages/system/admin.vue
index a37b148..2b20b29 100644
--- a/src/pages/system/admin.vue
+++ b/src/pages/system/admin.vue
@@ -185,7 +185,7 @@
         ],
         password: [
           { required: true, message: '瀵嗙爜涓嶈兘涓虹┖', trigger: 'change' },
-          { min: 5, max: 20, message: '瀵嗙爜鍦�5~20涓瓧涔嬮棿'}
+          { min: 5, max: 20, message: '瀵嗙爜鍦�5~20涓瓧涔嬮棿' }
         ],
         passwordSure: [
           { required: true, message: '纭瀵嗙爜涓嶈兘涓虹┖', trigger: 'change' },
@@ -232,7 +232,7 @@
           }
         }
       }, (inf) => {
-        this.roleArr = inf.list || []
+        this.roleArr = inf.list && inf.list.filter(item => item.isUse === 1) || []
       })
     },
 

--
Gitblit v1.8.0