时间优化
This commit is contained in:
parent
30e96acff9
commit
6b4ee115c4
|
|
@ -400,7 +400,9 @@ const Meeting: React.FC = () => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
time = setInterval(() => {
|
time = setInterval(() => {
|
||||||
setCurrentSeconds(currentSeconds++)
|
setCurrentSeconds(currentSeconds => {
|
||||||
|
return currentSeconds += 1
|
||||||
|
})
|
||||||
}, 1000)
|
}, 1000)
|
||||||
// 首次加载图标更新
|
// 首次加载图标更新
|
||||||
const firstFooterList = [...footerList]
|
const firstFooterList = [...footerList]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue