From 5e63ef8e505b7be2092b40d0001c1deae8c60ccb Mon Sep 17 00:00:00 2001 From: oneao Date: Fri, 28 Aug 2026 19:25:00 +0800 Subject: [PATCH] =?UTF-8?q?fix(module-management):=20=E5=AD=90=E8=A1=A8?= =?UTF-8?q?=E8=AE=BE=E8=AE=A1=E5=99=A8=20mst-tree=20=E5=AE=BD=E5=BA=A6?= =?UTF-8?q?=E5=BC=82=E5=B8=B8=E2=80=94=E2=80=94=E6=92=91=E5=BC=80=20Popove?= =?UTF-8?q?r=20trigger?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 根因:ModuleStructureTree 外层是 Dropdown→Popover 的 span.popover-trigger (display:inline-flex,收缩到内容宽度),导致内部 .mst-tree 即使自身是 block 也只有内容宽度,无法填满分组树面板。 修复: - TableEditPanel 结构树滚动容器内 :deep(.popover-trigger) 覆盖为 display:block + width:100%(特异性 0,3,0 高于 Popover 自身 0,2,0) - ModuleStructureTree .mst-tree 加 width:100% 双保险 --- .../components/structure-tree/ModuleStructureTree.vue | 1 + .../components/table-edit/TableEditPanel.vue | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/code/fms/fms-vue/src/views/system/module-management/components/structure-tree/ModuleStructureTree.vue b/code/fms/fms-vue/src/views/system/module-management/components/structure-tree/ModuleStructureTree.vue index 3d38ba27..eea316f8 100644 --- a/code/fms/fms-vue/src/views/system/module-management/components/structure-tree/ModuleStructureTree.vue +++ b/code/fms/fms-vue/src/views/system/module-management/components/structure-tree/ModuleStructureTree.vue @@ -672,6 +672,7 @@ provide('moduleStructureTree', {