From 177e58d295ba1bf41bf34e22f9ede13267eed489 Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Fri, 24 Oct 2025 15:11:58 +0800 Subject: [PATCH] fix: Optimize loop node --- .../component/PermissionTable.vue | 2 +- ui/src/views/system/resource-authorization/index.vue | 2 +- ui/src/views/tool/component/ToolStoreDescDrawer.vue | 6 ------ ui/src/views/tool/toolStore/InternalDescDrawer.vue | 6 ------ ui/src/views/tool/toolStore/ToolCard.vue | 3 --- ui/src/workflow/common/data.ts | 12 ++++++------ 6 files changed, 8 insertions(+), 23 deletions(-) diff --git a/ui/src/views/system/resource-authorization/component/PermissionTable.vue b/ui/src/views/system/resource-authorization/component/PermissionTable.vue index 7205fc9cb..f6ed45fef 100644 --- a/ui/src/views/system/resource-authorization/component/PermissionTable.vue +++ b/ui/src/views/system/resource-authorization/component/PermissionTable.vue @@ -58,8 +58,8 @@ @selection-change="handleSelectionChange" :maxTableHeight="260" :row-key="(row: any) => row.id" - :expand-row-keys="defaultExpandKeys" style="min-width: 600px" + :expand-row-keys="defaultExpandKeys" show-overflow-tooltip > diff --git a/ui/src/views/system/resource-authorization/index.vue b/ui/src/views/system/resource-authorization/index.vue index 44cfcac43..980a061f9 100644 --- a/ui/src/views/system/resource-authorization/index.vue +++ b/ui/src/views/system/resource-authorization/index.vue @@ -196,7 +196,7 @@ const toTree = (nodeList: any, pField: any) => { const pNode = nodeMap[element[pField]] if (pNode) { if (!pNode.children) { - pNode.children = [] + pNode.children = [] } pNode.children.push(element) } diff --git a/ui/src/views/tool/component/ToolStoreDescDrawer.vue b/ui/src/views/tool/component/ToolStoreDescDrawer.vue index 8cca14424..ea1cd5405 100644 --- a/ui/src/views/tool/component/ToolStoreDescDrawer.vue +++ b/ui/src/views/tool/component/ToolStoreDescDrawer.vue @@ -40,12 +40,6 @@ - -
- -
{{ $t('common.author') }}: MaxKB
-
-
- -
- -
{{ $t('common.author') }}: MaxKB
-
-