From ff045a6a19e2e0bd5c2433aae71145401627c22d Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 19 十二月 2019 19:08:32 +0800
Subject: [PATCH] 2019-12-19

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

diff --git a/src/templates/modalconfig/editcard/index.jsx b/src/templates/modalconfig/editcard/index.jsx
index 45af327..476d7b3 100644
--- a/src/templates/modalconfig/editcard/index.jsx
+++ b/src/templates/modalconfig/editcard/index.jsx
@@ -27,6 +27,8 @@
     const { card } = this.state
     this.setState({
       card: {...card, type: e.target.value}
+    }, () => {
+      this.props.changeCard(this.state.card)
     })
   }
 
@@ -44,7 +46,6 @@
           <Radio value="number">number</Radio>
           <Radio value="select">select</Radio>
           <Radio value="date">date</Radio>
-          <Radio value="datetime">datetime</Radio>
         </Radio.Group>
       </div>
     )

--
Gitblit v1.8.0