From 6f17ab979b81670b5d0017b0542e1988359c82c2 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 18 七月 2022 10:25:02 +0800
Subject: [PATCH] 2022-07-18

---
 src/menu/components/share/actioncomponent/actionform/index.jsx |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/menu/components/share/actioncomponent/actionform/index.jsx b/src/menu/components/share/actioncomponent/actionform/index.jsx
index e3aff10..6c8ace1 100644
--- a/src/menu/components/share/actioncomponent/actionform/index.jsx
+++ b/src/menu/components/share/actioncomponent/actionform/index.jsx
@@ -582,6 +582,10 @@
         _fieldval.Ot = 'required'
       }
 
+      if (this.props.type === 'card' && _fieldval.Ot === 'required') { // 鍗$墖涓棤澶氳閫夐」
+        _fieldval.Ot = 'requiredSgl'
+      }
+
       this.record.label = _fieldval.label || this.record.label || ''
       this.record.Ot = _fieldval.Ot || this.record.Ot || ''
       this.record.class = _fieldval.class || this.record.class || ''

--
Gitblit v1.8.0