From 2737c184d0954ac1f13b3a02840a88cd0db159c0 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 15 一月 2021 18:30:30 +0800
Subject: [PATCH] 2021-01-15

---
 src/templates/zshare/modalform/index.jsx |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/templates/zshare/modalform/index.jsx b/src/templates/zshare/modalform/index.jsx
index 1b9b8cf..852f8bb 100644
--- a/src/templates/zshare/modalform/index.jsx
+++ b/src/templates/zshare/modalform/index.jsx
@@ -30,6 +30,7 @@
   textarea: ['initval', 'readonly', 'required', 'hidden', 'readin', 'fieldlength', 'maxRows', 'encryption', 'interception', 'tooltip'],
   color: ['initval', 'readonly', 'required', 'hidden', 'readin', 'entireLine', 'tooltip'],
   hint: ['label', 'type', 'blacklist', 'message'],
+  brafteditor: ['required', 'hidelabel', 'hidden', 'readin', 'fieldlength', 'readonly', 'tooltip'],
   funcvar: [],
   linkMain: ['readonly', 'required', 'hidden', 'fieldlength', 'entireLine', 'tooltip']
 }
@@ -521,7 +522,7 @@
                   getPopupContainer={() => document.getElementById('modal-fields-form-box')}
                 >
                   {item.options.map((option, i) =>
-                    <Select.Option key={`${i}`} value={option.value || option.field}>
+                    <Select.Option key={`${i}`} value={option.value || option.field || ''}>
                       {item.key === 'icon' && <Icon type={option.text} />} {option.text || option.label}
                     </Select.Option>
                   )}

--
Gitblit v1.8.0