From 6d1bbd9db77faa427dca823c1b1f8a497a8e79a4 Mon Sep 17 00:00:00 2001 From: shaohuzhang1 <80892890+shaohuzhang1@users.noreply.github.com> Date: Mon, 23 Jun 2025 18:17:34 +0800 Subject: [PATCH] fix: resource permission (#3354) --- ui/src/views/system/resource-authorization/index.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/src/views/system/resource-authorization/index.vue b/ui/src/views/system/resource-authorization/index.vue index 6acdcabe1..5b9c456af 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(