From c1b1976f059aea9b69e85f2bbc6bdf4381d5691a Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期日, 10 四月 2022 16:05:50 +0800
Subject: [PATCH] 2022-04-10

---
 src/templates/zshare/formconfig.jsx |   20 +++++++++++++++++++-
 1 files changed, 19 insertions(+), 1 deletions(-)

diff --git a/src/templates/zshare/formconfig.jsx b/src/templates/zshare/formconfig.jsx
index a7d05d7..235e9be 100644
--- a/src/templates/zshare/formconfig.jsx
+++ b/src/templates/zshare/formconfig.jsx
@@ -2837,7 +2837,7 @@
       label: Formdict['model.form.field'] + Formdict['model.length'],
       // tooltip: '鏂囨湰銆佷笅鎷夋銆佹棩鏈熺瓑瀛楁榛樿闀垮害涓�50锛屽琛屾枃鏈笌鏂囦欢涓婁紶瀛楁榛樿闀垮害涓�512',
       initVal: card.fieldlength || _fieldlength,
-      required: false
+      required: true
     },
     {
       type: 'number',
@@ -3262,6 +3262,24 @@
       }]
     },
     {
+      type: 'radio',
+      key: 'lenControl',
+      label: '闀垮害鎺у埗',
+      initVal: card.lenControl || 'limit',
+      tooltip: '鍦ㄨ缃瓧娈甸暱搴﹀悗锛屽闀垮害鐨勬帶鍒舵柟寮忋��',
+      required: false,
+      options: [{
+        value: 'limit',
+        text: '闄愬埗杈撳叆'
+      }, {
+        value: 'left',
+        text: '宸︽埅'
+      }, {
+        value: 'right',
+        text: '鍙虫埅'
+      }]
+    },
+    {
       type: 'number',
       key: 'labelwidth',
       min: 1,

--
Gitblit v1.8.0