Input fields values taken state cannot be modified

前端 未结 0 644
逝去的感伤
逝去的感伤 2021-01-19 04:19

I cannot modify input predefined value.

constructor(props) {
super(props);
this.state = {
  userDetails: this.props.location.state.userDetails,
  token: "         


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