From 06a670976e2145a10ea05207041d3cf3164cd380 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期六, 03 二月 2024 18:13:25 +0800 Subject: [PATCH] Merge branch 'positec' into dms --- src/menu/components/form/formaction/index.jsx | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/menu/components/form/formaction/index.jsx b/src/menu/components/form/formaction/index.jsx index dc697e0..3ca3fb7 100644 --- a/src/menu/components/form/formaction/index.jsx +++ b/src/menu/components/form/formaction/index.jsx @@ -100,8 +100,10 @@ supId = config.wrap.supModule[config.wrap.supModule.length - 1] } - let modules = MenuUtils.getSubModules(window.GLOB.customMenu.components, config.uuid, supId) - let anchors = MenuUtils.getAnchors(window.GLOB.customMenu.components, config.uuid) || [] + let menu = window.GLOB.customMenu + + let modules = MenuUtils.getSubModules(menu.components, config.uuid, supId, menu.interfaces || null) + let anchors = MenuUtils.getAnchors(menu.components, config.uuid) || [] if (card.type === 'submit' && !card.Ot) { card.Ot = config.wrap.datatype === 'static' ? 'notRequired' : 'requiredSgl' -- Gitblit v1.8.0