See the example below. // Using object as an updater stopCountDown() { clearInterval(this.state.timer); this.setState( { started: false, timer: ...
確定! 回上一頁