Browse Source

Root permissions should not be cancelled when revoking authorization

pull/166/head
cKey 5 years ago
parent
commit
40f5eb8523
  1. 4
      vueJs/src/components/PermissionForm/index.vue

4
vueJs/src/components/PermissionForm/index.vue

@ -122,8 +122,8 @@ export class PermissionItem {
public setGrant(grant: boolean) {
this.isGrant = grant
// TODO: bug ,
if (this.parent) {
// fix bug: ,
if (this.parent && !this.parent.isGrant) {
this.parent.setGrant(grant)
}
}

Loading…
Cancel
Save