king
2022-02-09 d59f518f466274b2caeb2e01c10c92deafe7c93b
src/components/normalform/modalform/mkInput/index.jsx
@@ -4,7 +4,7 @@
import MKEmitter from '@/utils/events.js'
import './index.scss'
// import './index.scss'
/**
 * @description 自定义文本输入
@@ -64,7 +64,7 @@
    const { config } = this.props
    const { value } = this.state
    return <Input ref={this.inputRef} placeholder={config.placeholder || ''} value={value} autoComplete="off" onChange={this.handleChange} onPressEnter={this.props.onSubmit} />
    return <Input ref={this.inputRef} readOnly={config.readOnly} placeholder={config.placeholder || ''} value={value} autoComplete="off" onChange={this.handleChange} onPressEnter={this.props.onSubmit} />
  }
}