大乱斗详情UI更新
This commit is contained in:
@@ -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 || {});
|
||||
|
||||
Reference in New Issue
Block a user