fix: 修复创建用户roles必填问题

This commit is contained in:
Jiangjie.Bai 2022-03-07 11:23:17 +08:00 committed by Jiangjie.Bai
parent 561148521b
commit e14f344b68

View File

@ -121,7 +121,7 @@ export default {
value: []
},
org_roles: {
rules: !this.$store.getters.currentOrgIsRoot ? [rules.RequiredChange] : [],
rules: this.$store.getters.currentOrgIsRoot ? [] : [rules.RequiredChange],
el: {
multiple: true,
ajax: {