diff --git a/ui/src/views/system/resource-authorization/index.vue b/ui/src/views/system/resource-authorization/index.vue index 6acdcabe156..5b9c456aff5 100644 --- a/ui/src/views/system/resource-authorization/index.vue +++ b/ui/src/views/system/resource-authorization/index.vue @@ -162,6 +162,7 @@ function submitPermissions() { auth_type: item.isRole ? 'ROLE' : 'RESOURCE_PERMISSION_GROUP', } }) + .reduce((pre: any, next: any) => [...pre, ...next], []) }) AuthorizationApi.putResourceAuthorization(