react报错 TypeError: Cannot read property 'setState' of undefined

代码以下:html class test extends Component { constructor(props) { super(props); this.state = { liked: false }; } handleClick(event) { this.setState(
相关文章
相关标签/搜索