fix(countdown): onFinish cannot trigger (#4222)

refactor-list
zkwolf 2021-06-18 16:09:03 +08:00 committed by GitHub
parent 0dcdd92ba2
commit 3a51216f51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ export default defineComponent({
if (timestamp > Date.now()) {
emit('change', timestamp - Date.now());
}
syncTimer();
}, REFRESH_INTERVAL);
};