fix: eslint

(cherry picked from commit 8e78975521)
This commit is contained in:
xingyu
2023-07-29 12:55:51 +08:00
committed by shizhong
parent 9dd40c360a
commit c7d6d35642
9 changed files with 53 additions and 31 deletions

View File

@ -33,9 +33,12 @@ onMounted(() => {
// 首次加载小红点
getUnreadCount()
// 轮询刷新小红点
timer = setInterval(() => {
getUnreadCount()
}, 1000 * 60 * 2)
timer = setInterval(
() => {
getUnreadCount()
},
1000 * 60 * 2
)
})
onUnmounted(() => {
clearInterval(timer)