From 697d8416feb8919f1371ea4a32988ed63dac24c0 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 14 一月 2020 15:31:03 +0800
Subject: [PATCH] 2020-01-14

---
 src/templates/tableshare/editcard/index.jsx |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/src/templates/tableshare/editcard/index.jsx b/src/templates/tableshare/editcard/index.jsx
index f005744..53f3492 100644
--- a/src/templates/tableshare/editcard/index.jsx
+++ b/src/templates/tableshare/editcard/index.jsx
@@ -19,6 +19,8 @@
       } else if (_type === 'datetime') {
         _type = 'daterange'
       }
+    } else if (props.type === 'form') {
+      
     }
 
     this.state = {
@@ -68,6 +70,14 @@
             <Radio value="picture">picture</Radio>
           </Radio.Group> : null
         }
+        {type === 'form' ?
+          <Radio.Group onChange={this.changeType} value={card.type} disabled={!card.selected}>
+            <Radio value="text">text</Radio>
+            <Radio value="number">number</Radio>
+            <Radio value="select">select</Radio>
+            <Radio value="date">date</Radio>
+          </Radio.Group> : null
+        }
       </div>
     )
   }

--
Gitblit v1.8.0