@ -38,6 +38,10 @@ onMounted(() => {
interval.value = setInterval(
() => {
getUnreadCount()
if(interval.value){
clearInterval(interval.value)
interval.value = 0
}
},
1000 * 60 * 2
)
@ -45,6 +49,7 @@ onMounted(() => {
onBeforeUnmount(() => {
})
</script>