king
2020-01-14 697d8416feb8919f1371ea4a32988ed63dac24c0
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>
    )
  }