This commit is contained in:
Taric Xin
2022-05-05 17:49:57 +08:00
parent 340a08e1c5
commit c195d8abf9
5 changed files with 53 additions and 68 deletions

View File

@ -25,7 +25,7 @@ export class BasicSettingComponent implements OnInit {
configList: any = [];
isCanSave = false;
constructor(public service: SystemService, private acl: ACLService) {
this.isCanSave = !!acl.data.abilities?.find(a => a === 'SYSTEM-BASIC_SETTING-save');
this.isCanSave = acl.data.full || !!acl.data.abilities?.find(a => a === 'SYSTEM-BASIC_SETTING-save');
}
ngOnInit() {