enhance: unread count tip ignore logout

This commit is contained in:
Tristan Yang
2023-06-13 11:24:18 +08:00
parent 0151a8ff8c
commit 4372f56db1
+6
View File
@@ -32,6 +32,12 @@ const UnreadTabTip = () => {
});
useEffect(() => {
if (loginUid === 0) {
if (title) {
document.title = title;
}
return;
}
total = 0;
// dm
Object.entries(dmMids).forEach(([id, mids]) => {