From a29d9d644a2a30e9ef4afcc6d728c20c218dc359 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 15 六月 2023 14:25:28 +0800
Subject: [PATCH] 2023-06-15

---
 src/templates/sharecomponent/settingcalcomponent/verifycard/settingform/index.jsx |   17 ++++++++++++-----
 1 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/src/templates/sharecomponent/settingcalcomponent/verifycard/settingform/index.jsx b/src/templates/sharecomponent/settingcalcomponent/verifycard/settingform/index.jsx
index aa58249..6b8f830 100644
--- a/src/templates/sharecomponent/settingcalcomponent/verifycard/settingform/index.jsx
+++ b/src/templates/sharecomponent/settingcalcomponent/verifycard/settingform/index.jsx
@@ -14,7 +14,6 @@
 
 class SettingForm extends Component {
   static propTpyes = {
-    dict: PropTypes.object,       // 瀛楀吀椤�
     menuId: PropTypes.string,     // 鑿滃崟Id
     setting: PropTypes.object,    // 鏁版嵁婧愰厤缃�
     columns: PropTypes.array,     // 鍒楄缃�
@@ -87,6 +86,14 @@
               notification.warning({
                 top: 92,
                 message: '鏁版嵁婧愪腑锛屼笉鍙嚭鐜板瓧绗� -- 锛屾敞閲婅鐢� /*鍐呭*/',
+                duration: 5
+              })
+              reject()
+              return
+            } else if (/,,/ig.test(values.dataresource)) {
+              notification.warning({
+                top: 92,
+                message: '鏁版嵁婧愪腑锛屼笉鍙嚭鐜拌繛缁殑鑻辨枃閫楀彿锛�,,锛�',
                 duration: 5
               })
               reject()
@@ -168,7 +175,7 @@
 
       rules.push({
         required: true,
-        message: this.props.dict['form.required.input'] + '鍐呴儴鍑芥暟!'
+        message: '璇疯緭鍏ュ唴閮ㄥ嚱鏁�!'
       }, {
         pattern: _patten,
         message: formRule.func.innerMessage
@@ -185,7 +192,7 @@
                 rules: [
                   {
                     required: true,
-                    message: this.props.dict['form.required.input'] + '琛ㄥ悕!'
+                    message: '璇疯緭鍏ヨ〃鍚�!'
                   },
                   {
                     max: 50,
@@ -202,7 +209,7 @@
                 rules: [
                   {
                     required: true,
-                    message: this.props.dict['form.required.select'] + '鎺ュ彛绫诲瀷!'
+                    message: '璇烽�夋嫨鎺ュ彛绫诲瀷!'
                   },
                 ]
               })(
@@ -243,7 +250,7 @@
                 rules: [
                   {
                     required: true,
-                    message: this.props.dict['form.required.input'] + '鎺ュ彛鍦板潃!'
+                    message: '璇疯緭鍏ユ帴鍙e湴鍧�!'
                   },
                 ]
               })(<TextArea rows={2}/>)}

--
Gitblit v1.8.0