添加全局返回游戏
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user