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

@@ -14,8 +14,8 @@ const currentUser = ref({
const players = ref([]);
onLoad(async (options) => {
if (!options.id) return;
const result = await getBattleAPI(options.battleId || "59090720979554304");
if (!options.battleId) return;
const result = await getBattleAPI(options.battleId || "59348111700660224");
players.value = result.resultList.map((item, index) => {
const plist = result.teams[0] ? result.teams[0].players : [];
const p = plist.find((p) => p.id === item.userId);