From 137499158bf8f68c74205e135f563859427fec0c Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 18 四月 2023 11:03:42 +0800
Subject: [PATCH] 2023-04-18

---
 src/templates/zshare/modalform/index.jsx |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/templates/zshare/modalform/index.jsx b/src/templates/zshare/modalform/index.jsx
index cae1bd2..9e82b99 100644
--- a/src/templates/zshare/modalform/index.jsx
+++ b/src/templates/zshare/modalform/index.jsx
@@ -338,6 +338,10 @@
       shows.push('supvalue')
     }
 
+    if (this.record.hidden === 'true') {
+      shows = shows.filter(s => !['supField', 'supvalue', 'tooltip', 'extra', 'enter', 'tabField'].includes(s))
+    }
+
     return {
       shows,
       reOptions,

--
Gitblit v1.8.0