king
2023-08-17 c7aece35a62b6e91fd98a625bf0e53f64bfbd18d
src/templates/sharecomponent/fieldscomponent/editcard/index.jsx
@@ -18,11 +18,15 @@
          _type = 'text'
        }
      } else if (props.type === 'search') {
        if (_type !== 'select') {
        if (_type === 'date' || _type === 'datetime') {
          _type = 'date'
        } else if (_type !== 'select') {
          _type = 'text'
        }
      } else if (props.type === 'form') {
        if (_type !== 'number') {
        if (_type === 'datetime' || _type === 'date') {
          _type = 'date'
        } else if (_type !== 'number') {
          _type = 'text'
        }
      }
@@ -81,6 +85,7 @@
          <Radio.Group onChange={this.changeType} value={card.type} disabled={!card.selected || card.origin}>
            <Radio value="text">text</Radio>
            <Radio value="select">select</Radio>
            <Radio value="date">date</Radio>
          </Radio.Group> : null
        }
        {type === 'columns' ?