From 52d2bcad2ad696e1293d3ae53f0d927bee3b7f78 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 05 一月 2024 11:47:32 +0800
Subject: [PATCH] 2024-01-05

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

diff --git a/src/menu/components/card/cardcellcomponent/elementform/index.jsx b/src/menu/components/card/cardcellcomponent/elementform/index.jsx
index 6e42aff..1a96928 100644
--- a/src/menu/components/card/cardcellcomponent/elementform/index.jsx
+++ b/src/menu/components/card/cardcellcomponent/elementform/index.jsx
@@ -159,17 +159,15 @@
         if (this.record.eleType === 'number') {
           _options.push('decimal', 'format')
         }
-      } else if (this.record.eleType === 'picture') {
-        _options.push('url')
-        if (this.record.noValue === 'show') {
-          _options.push('lostTip')
-        }
-      } else if (this.record.eleType === 'video') {
+      } else if (this.record.eleType === 'picture' || this.record.eleType === 'video') {
         _options.push('url')
       } else {
         _options.push('value')
       }
-      if (this.record.eleType === 'video' && this.record.posterType) {
+      
+      if (this.record.eleType === 'picture' && this.record.noValue === 'show') {
+        _options.push('lostTip')
+      } else if (this.record.eleType === 'video' && this.record.posterType) {
         if (this.record.posterType === 'dynamic') {
           _options.push('posterField')
         } else {

--
Gitblit v1.8.0