state = {keyValue: ‘随便’,};给他给个 key = {this.state.keyValue}点击重置 this.setState({keyValue:new Date()}) 就能清空了 相当于重新渲染了一个 ,目的达到