初步完成返回游戏功能,待测试完善

This commit is contained in:
kron
2025-07-05 17:24:52 +08:00
parent c269a4b431
commit 1ea3f19238
8 changed files with 126 additions and 33 deletions

View File

@@ -43,7 +43,12 @@ const enterRoom = debounce(async () => {
}
}
});
const onCreateRoom = () => {
const onCreateRoom = async () => {
const isGaming = await isGamingAPI();
if (isGaming) {
uni.$showHint(1);
return;
}
warnning.value = "";
showModal.value = true;
};