From f393af9623c26ae177a3f69b8676afc4e23bff8d Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 08 二月 2022 14:48:51 +0800
Subject: [PATCH] 2022-02-08

---
 src/tabviews/zshare/mutilform/index.jsx |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/src/tabviews/zshare/mutilform/index.jsx b/src/tabviews/zshare/mutilform/index.jsx
index afb7b41..900bfbb 100644
--- a/src/tabviews/zshare/mutilform/index.jsx
+++ b/src/tabviews/zshare/mutilform/index.jsx
@@ -101,10 +101,17 @@
 
       if (['select', 'link', 'radio', 'checkbox', 'checkcard', 'multiselect'].includes(item.type)) {
         item.options = item.options || []
-        item.options = item.options.map(cell => {
+        // item.options = item.options.map(cell => {
+        //   cell.value = cell.Value
+        //   cell.label = cell.Text
+
+        //   return cell
+        // })
+        item.options = item.options.filter(cell => {
           cell.value = cell.Value
           cell.label = cell.Text
-          return cell
+
+          return !cell.Hide
         })
         if (item.setAll === 'true' && ['select', 'link', 'radio'].includes(item.type)) { // 娣诲姞绌哄��
           item.options.unshift({

--
Gitblit v1.8.0