From b3547d1c531e479021219fda5df153a11b9b52a3 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 31 八月 2020 17:28:09 +0800
Subject: [PATCH] 2020-08-31

---
 src/templates/zshare/formconfig.jsx |   17 +++++++++++++++--
 1 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/src/templates/zshare/formconfig.jsx b/src/templates/zshare/formconfig.jsx
index 1033580..8f46157 100644
--- a/src/templates/zshare/formconfig.jsx
+++ b/src/templates/zshare/formconfig.jsx
@@ -2316,7 +2316,20 @@
         text: Formdict['model.false']
       }]
     },
-    
+    {
+      type: 'radio',
+      key: 'writein',
+      label: '鍐欏叆',
+      tooltip: '琛ㄥ崟鎻愪氦鏃讹紝鏄惁灏嗚瀛楁鍊煎啓鍏ラ粯璁ql璇彞涓��',
+      initVal: card.writein || 'true',
+      options: [{
+        value: 'true',
+        text: Formdict['model.true']
+      }, {
+        value: 'false',
+        text: Formdict['model.false']
+      }]
+    },
     {
       type: 'radio',
       key: 'encryption',
@@ -2536,7 +2549,7 @@
       key: 'content',
       label: '鍐呭',
       initVal: card.content || '',
-      required: true,
+      required: _type !== 'header',
       forbid: !['detail', 'header'].includes(_type),
     },
     {

--
Gitblit v1.8.0