|
@@ -173,7 +173,7 @@ export default {
|
|
if (this.roleType == 'account') {
|
|
if (this.roleType == 'account') {
|
|
this.checkBoxs('UserId')
|
|
this.checkBoxs('UserId')
|
|
}
|
|
}
|
|
- if (
|
|
|
|
|
|
+ if (
|
|
(this.roleType == 'onlyRole' && !this.GroupIds.length) ||
|
|
(this.roleType == 'onlyRole' && !this.GroupIds.length) ||
|
|
(this.roleType == 'onlyRole' && this.GroupIds.length === 1 && this.GroupIds[0] === -1) ||
|
|
(this.roleType == 'onlyRole' && this.GroupIds.length === 1 && this.GroupIds[0] === -1) ||
|
|
(this.roleType === 'group' && this.GroupIds.length)
|
|
(this.roleType === 'group' && this.GroupIds.length)
|