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> ) }