大乱斗详情UI更新

This commit is contained in:
kron
2025-06-28 12:38:38 +08:00
parent 72f3013795
commit c7546f6b71
3 changed files with 57 additions and 104 deletions

View File

@@ -20,8 +20,8 @@ const data = ref({
onLoad(async (options) => {
if (options.id) {
battleId.value = options.id;
const result = await getGameAPI(options.id);
battleId.value = options.id || "BATTLE-1750946182966867665-941";
const result = await getGameAPI(battleId.value);
data.value = result;
if (result.mode === 1) {
blueTeam.value = Object.values(result.bluePlayers || {});