From 2a6a3b7d14e3d4f1dcfc72c3f9fbef8dd20238c2 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 08 三月 2024 15:16:06 +0800
Subject: [PATCH] 2024-03-08

---
 src/menu/components/share/actioncomponent/index.jsx |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/src/menu/components/share/actioncomponent/index.jsx b/src/menu/components/share/actioncomponent/index.jsx
index e33d65e..4029b06 100644
--- a/src/menu/components/share/actioncomponent/index.jsx
+++ b/src/menu/components/share/actioncomponent/index.jsx
@@ -206,8 +206,10 @@
         supId = ''
       }
     }
+
+    let menu = window.GLOB.customMenu
     
-    let modules = MenuUtils.getSubModules(window.GLOB.customMenu.components, config.uuid, supId)
+    let modules = MenuUtils.getSubModules(menu.components, config.uuid, supId, menu.interfaces || null)
 
     if (config.subtype === 'basetable') {
       delete card.eleType // 鍖哄垎鎸夐挳浣嶇疆
@@ -218,7 +220,7 @@
         formlist: getBaseTableActionForm(card, functip, config, usefulFields, modules)
       })
     } else {
-      let anchors = MenuUtils.getAnchors(window.GLOB.customMenu.components, config.uuid) || []
+      let anchors = MenuUtils.getAnchors(menu.components, config.uuid) || []
   
       this.setState({
         visible: true,
@@ -283,12 +285,17 @@
               output: 'true',
               required: 'false',
               type: 'text',
+              noValue: 'true',
               uuid: Utils.getuuid()
             }
   
             if (item.type === 'number') {
               cell.type = 'number'
               cell.decimal = item.decimal
+
+              if (item.noValue === 'hide') {
+                cell.noValue = 'false'
+              }
             }
   
             columns.push(cell)

--
Gitblit v1.8.0