房间1v1流程完善

This commit is contained in:
kron
2025-06-13 14:05:30 +08:00
parent dce1806f97
commit 2c7eb5a737
9 changed files with 290 additions and 70 deletions

View File

@@ -10,7 +10,6 @@ import ScorePanel from "@/components/ScorePanel.vue";
import Container from "@/components/Container.vue";
import { createPractiseAPI } from "@/apis";
import { MESSAGETYPES } from "@/constants";
import websocket from "@/websocket";
import useStore from "@/store";
import { storeToRefs } from "pinia";
const store = useStore();
@@ -87,7 +86,6 @@ const nextStep = async () => {
const onClose = () => {
showScore.value = false;
websocket.closeWebSocket();
setTimeout(() => {
step.value = 5;
}, 500);