开始使用react&编译后,history属性出现类型错误,这是我从页面的教程中获得的

83 | }   84 | render(){

85 | const history = this.state.history;        | ^ 86 | const current = history [this.state.stepNumber];     87 | const Winner = computeWinner(current.squares);
评论