mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-12 04:03:42 +08:00
opt: styles and view micro optimization
This commit is contained in:
@@ -264,9 +264,10 @@ const connect = (userId) => {
|
||||
|
||||
_socket.addEventListener('close', () => {
|
||||
loading.value = false
|
||||
if (socket.value !== null) {
|
||||
checkSession().then(() => {
|
||||
connect(userId)
|
||||
}
|
||||
}).catch(() => {
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user