From 3e82e16a80032938271c7709fe9add1c8fb79653 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=AB=E8=B0=B7=E5=89=91=E4=BB=99?= Date: Fri, 24 May 2024 19:07:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20sanbon=20=E5=BE=BD?= =?UTF-8?q?=E7=AB=A0=E7=9A=84=E8=AF=BB=E5=8F=96=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script.js | 3 ++- service-worker.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/script.js b/script.js index e6a6c085..5afc8f09 100644 --- a/script.js +++ b/script.js @@ -2811,8 +2811,9 @@ function sanbonFotmationToPdfFotmation(obj) f.title = team.title; f.detail = team.content; const t = f.teams[0]; + //队伍徽章 - t[2] = Formation.daddbBadgeMap.find(badge=>badge.sanbon === team.badge)?.pdf || team.badge; + t[2] = Formation.sanbonBadgeMap.find(badge=>badge.sanbon === team.badge)?.pdf ?? team.badge; const members = t[0], assists = t[1]; for (let i = 0; i< members.length; i++) { const m = members[i], a = assists[i], dm = team.members[i]; diff --git a/service-worker.js b/service-worker.js index 7668bb83..961346bf 100644 --- a/service-worker.js +++ b/service-worker.js @@ -27603,7 +27603,7 @@ const cachesMap = new Map([ ], [ "script.js", - "6bc01d0d3dd1a16a2652bd17bc04532f" + "485f58ac99f5c4698ca80e20f0a01959" ], [ "solo.html",