From 1d395e6d750fe91082c99a15e355ab2841ed65c6 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 04 一月 2024 17:49:21 +0800
Subject: [PATCH] 2024-01-04

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

diff --git a/src/menu/components/card/cardcellcomponent/elementform/index.jsx b/src/menu/components/card/cardcellcomponent/elementform/index.jsx
index 3d140fc..6e42aff 100644
--- a/src/menu/components/card/cardcellcomponent/elementform/index.jsx
+++ b/src/menu/components/card/cardcellcomponent/elementform/index.jsx
@@ -159,7 +159,12 @@
         if (this.record.eleType === 'number') {
           _options.push('decimal', 'format')
         }
-      } else if (this.record.eleType === 'picture' || this.record.eleType === 'video') {
+      } else if (this.record.eleType === 'picture') {
+        _options.push('url')
+        if (this.record.noValue === 'show') {
+          _options.push('lostTip')
+        }
+      } else if (this.record.eleType === 'video') {
         _options.push('url')
       } else {
         _options.push('value')
@@ -341,7 +346,7 @@
           return item
         })
       })
-    } else if (['datatype', 'showInfo', 'showType', 'fixStyle', 'posterType', 'eval', 'linkType', 'tipType'].includes(key)) {
+    } else if (['datatype', 'showInfo', 'showType', 'fixStyle', 'posterType', 'eval', 'linkType', 'tipType', 'noValue'].includes(key)) {
       let _options = this.getOptions()
 
       this.setState({

--
Gitblit v1.8.0