添加全局返回游戏

This commit is contained in:
kron
2025-07-13 14:57:16 +08:00
parent b6d78d6070
commit fa959c73aa
10 changed files with 109 additions and 10 deletions

View File

@@ -93,7 +93,7 @@ onLoad(async (options) => {
}
});
async function stopMatch() {
uni.navigateBack();
uni.$showHint(3);
}
async function readyToGo() {
if (battleId.value) {
@@ -184,6 +184,7 @@ onUnmounted(() => {
:title="battleId ? '大乱斗排位赛' : '搜索对手...'"
:bgType="1"
:onBack="onBack"
:showBackToGame="false"
>
<view class="container">
<block v-if="battleId">