class Timer extends Component { state = { seconds: 0 } tick = () => { const { seconds } = this.state; this.setState({ seconds: seconds + 1 } ...
確定! 回上一頁