Skip to content

Commit 3a51216

Browse files
authored
fix(countdown): onFinish cannot trigger (#4222)
1 parent 0dcdd92 commit 3a51216

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/statistic/Countdown.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export default defineComponent({
3838
if (timestamp > Date.now()) {
3939
emit('change', timestamp - Date.now());
4040
}
41+
syncTimer();
4142
}, REFRESH_INTERVAL);
4243
};
4344

0 commit comments

Comments
 (0)