细节完善

This commit is contained in:
kron
2025-07-25 15:18:46 +08:00
parent e5b1194882
commit 10af25c254
7 changed files with 129 additions and 81 deletions

View File

@@ -33,9 +33,11 @@ const enterRoom = debounce(async () => {
);
if (!alreadyIn) {
const result = await joinRoomAPI(roomNumber.value);
if (result.full) warnning.value = "房间已满员";
showModal.value = true;
return;
if (result.full) {
warnning.value = "房间已满员";
showModal.value = true;
return;
}
}
roomNumber.value = "";
showModal.value = false;