lsc 1 miesiąc temu
rodzic
commit
a5ef9e0450
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      src/views/Student/index.vue

+ 1 - 0
src/views/Student/index.vue

@@ -4263,6 +4263,7 @@ const createWebSocketConnection = async (type = 1) => {
         }, 5000)
       }
       else if (event.status === 'closed') {
+        console.log('👉 WebSocket连接断开closed')
         updateAuthToken().then(() => {
           providerSocket.value.connect() // 尝试重新连接
         })