diff --git a/src/components/CountDown/index.js b/src/components/CountDown/index.js index e1e85bc2..5b512c83 100644 --- a/src/components/CountDown/index.js +++ b/src/components/CountDown/index.js @@ -96,7 +96,7 @@ class CountDown extends Component { } render() { - const { format = this.defaultFormat, ...rest } = this.props; + const { format = this.defaultFormat, onEnd, ...rest } = this.props; const { lastTime } = this.state; const result = format(lastTime);