From cdd5b449130ea4d7223fde4f414a11a7d0c33d6d Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 07 三月 2024 17:52:16 +0800 Subject: [PATCH] 2024-03-07 --- src/components/normalform/modalform/mkInput/index.jsx | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/normalform/modalform/mkInput/index.jsx b/src/components/normalform/modalform/mkInput/index.jsx index 2df60f7..393832f 100644 --- a/src/components/normalform/modalform/mkInput/index.jsx +++ b/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} /> } } -- Gitblit v1.8.0