完成获胜页面UI和一些优化

This commit is contained in:
kron
2025-06-04 16:26:07 +08:00
parent 1cab0e17d8
commit 18fb0ee7d4
13 changed files with 343 additions and 154 deletions

View File

@@ -8,7 +8,7 @@ import ScorePanel2 from "@/components/ScorePanel2.vue";
import ScoreResult from "@/components/ScoreResult.vue";
import SButton from "@/components/SButton.vue";
import { createPractiseAPI } from "@/apis";
import { MESSAGETYPES } from "@/constants";
import { MESSAGETYPES, roundsName } from "@/constants";
import websocket from "@/websocket";
const start = ref(false);
const showScore = ref(false);
@@ -42,12 +42,6 @@ const onReady = async () => {
});
};
const roundsName = {
1: "一",
2: "二",
3: "三",
};
onUnmounted(() => {
websocket.closeWebSocket();
});