From 05b66ce9fbe2c1abc34b5f459b29b6e49e40125e Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 10 三月 2025 10:47:19 +0800
Subject: [PATCH] Merge branch 'develop'

---
 src/menu/components/card/cardcellcomponent/elementform/index.jsx |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/src/menu/components/card/cardcellcomponent/elementform/index.jsx b/src/menu/components/card/cardcellcomponent/elementform/index.jsx
index 9673341..3b9f876 100644
--- a/src/menu/components/card/cardcellcomponent/elementform/index.jsx
+++ b/src/menu/components/card/cardcellcomponent/elementform/index.jsx
@@ -115,6 +115,26 @@
               })
             })
           }
+        } else if (item.key === 'noVField') {
+          item.options = []
+
+          if (side === 'sub') {
+            config.subColumns.forEach(col => {
+              let label = `${col.field}锛�${col.label}锛塦
+              item.options.push({
+                value: col.field,
+                text: label
+              })
+            })
+          } else {
+            config.columns.forEach(col => {
+              let label = `${col.field}锛�${col.label}锛塦
+              item.options.push({
+                value: col.field,
+                text: label
+              })
+            })
+          }
         } else if (item.key === 'formula') {
           item.fields = []
 
@@ -181,6 +201,9 @@
         _options.push('value')
       }
       
+      if (this.record.eleType === 'text' && this.record.datatype === 'static' && this.record.noValue === 'hide') {
+        _options.push('noVField')
+      }
       if (this.record.eleType === 'picture' && this.record.noValue === 'show') {
         _options.push('lostTip')
       } else if (this.record.eleType === 'video' && this.record.posterType) {

--
Gitblit v1.8.0