king
2023-04-27 59db6fab9c1ed1fa5559d423d439e14ea33b1598
src/menu/components/table/edit-table/columns/editColumn/index.jsx
@@ -60,6 +60,10 @@
    let _options = fromJS(columnTypeOptions[this.column.type]).toJS()
    if (this.column.editable === 'true') {
      _options.push('ctrlField')
      if (this.column.ctrlField) {
        _options.push('ctrlValue')
      }
      if (this.column.type === 'text') {
        _options.push('editType')
@@ -170,7 +174,7 @@
      }
    } else if (key === 'format' && value === 'percent') {
      this.props.form.setFieldsValue({postfix: '%'})
    } else if (key === 'editable' || key === 'editType' || key === 'resourceType') {
    } else if (key === 'editable' || key === 'editType' || key === 'resourceType' || key === 'ctrlField') {
      let _options = this.getOptions()
      this.setState({