antd Input 默认聚焦


// this.input.focus()
this.setState({inputVisible: true}, () => this.input.focus())

 

posted @ 2020-12-08 14:31  本溢  阅读(1685)  评论(0)    收藏  举报