pref: 比赛结束

This commit is contained in:
2026-05-06 16:15:39 +08:00
parent 9cd32a7aa6
commit 1beb1009b3
4 changed files with 18 additions and 9 deletions

View File

@@ -28,6 +28,10 @@ const playersScores = ref([]);
const halfTimeTip = ref(false);
const halfRest = ref(false);
const navigateToResult = () => {
uni.redirectTo({ url: `/pages/battle-result?battleId=${battleId.value}` });
};
function recoverData(battleInfo, { force = false } = {}) {
if (!battleInfo) return;
try {