From f267d04e0561a0a20d1f2a9f558a273558ece90d Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 24 五月 2021 17:50:19 +0800
Subject: [PATCH] 2021-05-24

---
 src/menu/components/share/actioncomponent/actionform/index.jsx |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/menu/components/share/actioncomponent/actionform/index.jsx b/src/menu/components/share/actioncomponent/actionform/index.jsx
index 674fafa..149c52b 100644
--- a/src/menu/components/share/actioncomponent/actionform/index.jsx
+++ b/src/menu/components/share/actioncomponent/actionform/index.jsx
@@ -523,12 +523,13 @@
               })(
                 <Select
                   showSearch
+                  allowClear
                   filterOption={(input, option) => option.props.children[2].toLowerCase().indexOf(input.toLowerCase()) >= 0}
                   onChange={(value) => {this.optionChange(item.key, value)}}
                   getPopupContainer={() => document.getElementById('winter')}
                 >
                   {item.options.map((option, index) =>
-                    <Select.Option id={index} key={index} value={option.value || option.field}>
+                    <Select.Option id={index} key={option.value || option.field} value={option.value || option.field}>
                       {item.key === 'icon' && option.value ? <Icon type={option.value} /> : ''} {option.text || option.label}
                     </Select.Option>
                   )}
@@ -627,6 +628,7 @@
         if (!err) {
           values.uuid = card.uuid
           values.verify = card.verify || null
+          values.modal = card.modal || null
 
           if (values.show === 'icon' && !values.icon) {
             notification.warning({

--
Gitblit v1.8.0