From 12169746af74802c7a77a1cae762290f82ffa5b0 Mon Sep 17 00:00:00 2001 From: BTMuli Date: Fri, 10 Apr 2026 00:35:35 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=BD=EF=B8=8F=20=E5=A4=84=E7=90=86?= =?UTF-8?q?=E7=A9=BA=E4=B9=8B=E7=A5=9E=E6=AE=BF=E4=BE=9B=E5=A5=89=E5=9B=BE?= =?UTF-8?q?=E6=A0=87=E5=8A=A0=E8=BD=BD=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/plugins/Sqlite/utils/transUserRecord.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/plugins/Sqlite/utils/transUserRecord.ts b/src/plugins/Sqlite/utils/transUserRecord.ts index 371b4986..8e7ce2da 100644 --- a/src/plugins/Sqlite/utils/transUserRecord.ts +++ b/src/plugins/Sqlite/utils/transUserRecord.ts @@ -171,7 +171,16 @@ function transWorld( children: [], }; if (area.type === "Reputation") world.reputation = area.level; - if (area.offerings !== undefined && area.offerings.length > 0) world.offerings = area.offerings; + if (area.offerings !== undefined && area.offerings.length > 0) { + // 处理空之神殿供奉图标异常 TODO: 后续图标正常加载时替换回来 + if (area.id === 19) { + const offer = { + ...area.offerings[0], + icon: "https://webstatic.mihoyo.com/app/community-game-records/images/seven-statue-icon.dbb79dd6.png", + }; + world.offerings = [offer]; + } else world.offerings = area.offerings; + } if (area.id in STATIC_AREA && STATIC_AREA[area.id].name === area.name) { world.iconLight = STATIC_AREA[area.id].iconLight; world.bg = STATIC_AREA[area.id].bg;