opt: styles and view micro optimization

This commit is contained in:
RockYang
2024-05-01 07:40:56 +08:00
parent cc1a3ce343
commit e589f25a05
6 changed files with 14 additions and 11 deletions

View File

@@ -264,9 +264,10 @@ const connect = (userId) => {
_socket.addEventListener('close', () => {
loading.value = false
if (socket.value !== null) {
checkSession().then(() => {
connect(userId)
}
}).catch(() => {
})
});
}