fix: resource permission (#3354)

This commit is contained in:
shaohuzhang1 2025-06-23 18:17:34 +08:00 committed by GitHub
parent abf8c6a62e
commit 6d1bbd9db7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -162,6 +162,7 @@ function submitPermissions() {
auth_type: item.isRole ? 'ROLE' : 'RESOURCE_PERMISSION_GROUP', auth_type: item.isRole ? 'ROLE' : 'RESOURCE_PERMISSION_GROUP',
} }
}) })
.reduce((pre: any, next: any) => [...pre, ...next], [])
}) })
AuthorizationApi.putResourceAuthorization( AuthorizationApi.putResourceAuthorization(