why does set state when this.props.value === undefined

后端 未结 0 602
攒了一身酷
攒了一身酷 2021-01-13 16:19

https://github.com/ant-design/ant-design/blob/master/components/input/Input.tsx#L246

setValue(value: string, callback?: () => void) {
    if (this.props.va         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题