fix(countdown): onFinish cannot trigger (#4222)
parent
0dcdd92ba2
commit
3a51216f51
|
@ -38,6 +38,7 @@ export default defineComponent({
|
||||||
if (timestamp > Date.now()) {
|
if (timestamp > Date.now()) {
|
||||||
emit('change', timestamp - Date.now());
|
emit('change', timestamp - Date.now());
|
||||||
}
|
}
|
||||||
|
syncTimer();
|
||||||
}, REFRESH_INTERVAL);
|
}, REFRESH_INTERVAL);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue