bug修复

This commit is contained in:
kron
2026-02-07 11:59:21 +08:00
parent 6101cd80ce
commit 715e614f9d
8 changed files with 22 additions and 22 deletions

View File

@@ -32,7 +32,6 @@ onLoad(async (options) => {
if (!options.battleId) return;
const myId = user.value.id;
const result = await getBattleAPI(options.battleId || "59090720979554304");
console.log("result", result);
data.value = result;
if (result.winTeam) {
ifWin.value = result.teams[result.winTeam].players.some(
@@ -74,7 +73,7 @@ const myTeam = computed(() => {
const checkBowData = () => {
uni.navigateTo({
url: `/pages/match-detail?id=${data.value.matchId}`,
url: `/pages/match-detail?battleId=${data.value.matchId}`,
});
};
</script>