✏️ 修正数据类型

This commit is contained in:
BTMuli
2023-06-09 11:32:57 +08:00
parent ac51713767
commit 03dfdc26e1
2 changed files with 4 additions and 4 deletions

View File

@@ -112,8 +112,8 @@ function transStat (data: TGApp.Game.Record.Stats): string {
function transWorld (data: TGApp.Game.Record.WorldExplore[]): string {
const worlds: TGApp.Sqlite.Record.WorldExplore[] = data.map(item => {
let offerings;
if (item.Offerings !== undefined) {
offerings = item.Offerings.map(offering => {
if (item.offerings !== undefined) {
offerings = item.offerings.map(offering => {
return {
name: offering.name,
icon: offering.icon,