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) || [] }) },