From 5f9e12be5950d00fecc2ae4ab1e91dd4b5a836e3 Mon Sep 17 00:00:00 2001
From: long <515897141@qq.com>
Date: 星期四, 01 七月 2021 15:30:39 +0800
Subject: [PATCH] Merge branch 'master' of https://gitee.com/huoxiong/empty_backstage_hx

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

diff --git a/src/pages/system/admin.vue b/src/pages/system/admin.vue
index a37b148..65f8492 100644
--- a/src/pages/system/admin.vue
+++ b/src/pages/system/admin.vue
@@ -232,7 +232,7 @@
           }
         }
       }, (inf) => {
-        this.roleArr = inf.list || []
+        this.roleArr = inf.list && inf.list.filter(item => item.isUse === 1) || []
       })
     },
 

--
Gitblit v1.8.0