From bc4ee6130db80f8f2020bb3bb7248b6e55ae90cc Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 20 三月 2020 17:47:01 +0800
Subject: [PATCH] 2020-03-20

---
 src/templates/zshare/formconfig.js |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/src/templates/zshare/formconfig.js b/src/templates/zshare/formconfig.js
index af50705..3aff390 100644
--- a/src/templates/zshare/formconfig.js
+++ b/src/templates/zshare/formconfig.js
@@ -205,6 +205,19 @@
       }]
     },
     {
+      type: 'radio',
+      key: 'required',
+      label: Formdict['header.form.field.required'],
+      initVal: card.required || 'false',
+      options: [{
+        value: 'true',
+        text: Formdict['header.form.true']
+      }, {
+        value: 'false',
+        text: Formdict['header.form.false']
+      }]
+    },
+    {
       type: 'number',
       key: 'ratio',
       min: 1,

--
Gitblit v1.8.0