mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-27 19:09:06 +00:00
fix: 修复创建用户roles必填问题
This commit is contained in:
parent
561148521b
commit
e14f344b68
@ -121,7 +121,7 @@ export default {
|
|||||||
value: []
|
value: []
|
||||||
},
|
},
|
||||||
org_roles: {
|
org_roles: {
|
||||||
rules: !this.$store.getters.currentOrgIsRoot ? [rules.RequiredChange] : [],
|
rules: this.$store.getters.currentOrgIsRoot ? [] : [rules.RequiredChange],
|
||||||
el: {
|
el: {
|
||||||
multiple: true,
|
multiple: true,
|
||||||
ajax: {
|
ajax: {
|
||||||
|
Loading…
Reference in New Issue
Block a user