Merge pull request #3182 from dataease/pr@dev@fix_user-role

fix: 个人信息修改界面角色改为非必填
This commit is contained in:
xuwei-fit2cloud 2022-09-26 14:18:23 +08:00 committed by GitHub
commit 54ed651feb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -149,8 +149,7 @@ export default {
message: this.$t('member.password_format_is_incorrect'),
trigger: 'blur'
}
],
roleIds: [{ required: true, message: this.$t('user.input_roles'), trigger: 'change' }]
]
},
defaultForm: { id: null, username: null, nickName: null, gender: '男', email: null, enabled: 1, deptId: null, phone: null, roleIds: [] },