From c7e0b8b1049f422e87e3c0d0ed252784aa69eb29 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 09 三月 2023 23:28:45 +0800
Subject: [PATCH] 2023-03-09

---
 src/tabviews/zshare/mutilform/index.jsx |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/tabviews/zshare/mutilform/index.jsx b/src/tabviews/zshare/mutilform/index.jsx
index b7d6cd6..479a3d3 100644
--- a/src/tabviews/zshare/mutilform/index.jsx
+++ b/src/tabviews/zshare/mutilform/index.jsx
@@ -904,6 +904,14 @@
       if (item.empty === 'hidden' && item.oriOptions.length === 0) return
 
       if (item.type === 'split') {
+        if (item.splitctrl) {
+          let cell = formlist.filter(m => m.field === item.splitctrl)[0]
+
+          if (cell && (cell.hidden || (cell.empty === 'hidden' && !cell.oriOptions.length))) {
+            return null
+          }
+        }
+        
         fields.push(
           <Col span={24} key={index}>
             <p className="mk-form-split-line" style={item.style}>{item.label}</p>

--
Gitblit v1.8.0