<Input
style={{ width: '300px' }}
className={hideShow ? styles.inpHide : styles.inpShow}
value={valueIpt}
ref={input => (this.textInput = input)}
onChange={this.onChangeIpt}
onBlur={this.changeNameSave}
onFocus={this.handleFocus}
/>
handleDBClick = () => {
this.setState({
hideShow: false,
valueIpt: this.state.valueSel
}, () => {
this.textInput.focus()
})
}
image.png
image.png
网友评论