Skip to content

Commit

Permalink
fix: statistic countdown not trigger "finish" event (#1731)
Browse files Browse the repository at this point in the history
* fix: fix the "finish" event of statistic countdown

* fix: update the fix of "finish" event of statistic countdown

* fix: update the fix of "finish" event of statistic countdown
  • Loading branch information
hebingchang authored Feb 7, 2020
1 parent cda69c6 commit ae50539
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/statistic/Countdown.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export default {
if (this.countdownId) return;
this.countdownId = window.setInterval(() => {
this.$refs.statistic.$forceUpdate();
this.syncTimer();
}, REFRESH_INTERVAL);
},

Expand Down

0 comments on commit ae50539

Please sign in to comment.