This commit is contained in:
Taric Xin
2022-03-02 16:42:19 +08:00
parent 6b890e638c
commit ce57fe029e

View File

@ -83,14 +83,11 @@ export class SettingRoleEditComponent implements OnInit {
this.service.msgSrv.warning('校验错误'); this.service.msgSrv.warning('校验错误');
return; return;
} }
// this.menu.washTree();
// if (this.authorityAssistId.length === 0) {
// this.service.msgSrv.warning('请选择权限!');
// return;
// }
console.log(this.params);
const auths = this.menu?.washTree(); const auths = this.menu?.washTree();
if (auths.authorityAssistId.length === 0) {
this.service.msgSrv.warning('请选择权限!');
return;
}
const params: any = { const params: any = {
id: this.params.id, id: this.params.id,
...this.sf.value, ...this.sf.value,