render(){
var disabled=false;
!this.state.beginTime?(disabled=true):(disabled=false)
return <button disabled={disabled}></button>
}
according to the change of beginTime, set the diasbled property dynamically
this code works well in chrome and Firefox, but it doesn"t work and doesn"t report an error in Safari. The version of Safari is 11.1.2.