perf: per

This commit is contained in:
archer
2025-05-30 19:10:35 +08:00
parent e59816aba4
commit 2128d306ad
2 changed files with 1 additions and 6 deletions

View File

@@ -69,11 +69,6 @@ export class Permission {
return this.value === OwnerPermissionVal;
}
// 管理员
if ((this.value & ManagePermissionVal) === ManagePermissionVal) {
return (this._permissionList.manage.value & perm) === perm;
}
return (this.value & perm) === perm;
}