时间优化

This commit is contained in:
yj 2024-10-22 11:09:11 +08:00
parent 30e96acff9
commit 6b4ee115c4
1 changed files with 3 additions and 1 deletions

View File

@ -400,7 +400,9 @@ const Meeting: React.FC = () => {
}
}
time = setInterval(() => {
setCurrentSeconds(currentSeconds++)
setCurrentSeconds(currentSeconds => {
return currentSeconds += 1
})
}, 1000)
// 首次加载图标更新
const firstFooterList = [...footerList]