bug修复
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user