From c40e9437492f6973e631f42d8859d50182f777df Mon Sep 17 00:00:00 2001 From: long <515897141@qq.com> Date: 星期一, 24 一月 2022 10:01:36 +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