king
2025-01-10 fec6c24bc3fd902f8ced64bc2600c0b0836f7e52
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} />
  }
}