|
@@ -98,7 +98,7 @@ const serviceCoverUserPermission = (
|
|
|
dataScope: Number(s.dataScope),
|
|
|
}));
|
|
|
|
|
|
-const userPermListCover = (perms: string[]): UserPermission[] => {
|
|
|
+const userPermListCover = (perms: string[] = []): UserPermission[] => {
|
|
|
const uPerms: UserPermission[] = [];
|
|
|
const addedMenus = [...perms];
|
|
|
for (const perm of perms) {
|