完成新手试炼接口调试

This commit is contained in:
kron
2025-05-30 13:58:43 +08:00
parent 57b25e7805
commit 01a327e40e
9 changed files with 74 additions and 29 deletions

View File

@@ -30,7 +30,10 @@ function createWebSocket(token, onMessage) {
}
function closeWebSocket() {
if (socket) socket.close();
if (socket) {
socket.close();
stopHeartbeat();
}
}
/**