fix map callout

This commit is contained in:
Timi
2025-12-10 16:59:22 +08:00
parent 1e54782600
commit 920b3c87e8
3 changed files with 23 additions and 8 deletions

View File

@ -39,6 +39,7 @@ interface LocationMarker {
location?: string;
journalIds: number[]; // 该位置的所有日记 ID
count: number; // 日记数量
date: string;
previewThumb?: string; // 预览缩略图
}
@ -124,6 +125,7 @@ Page({
location: journal.location,
journalIds: [],
count: 0,
date: Time.toPassedDate(journal.createdAt),
previewThumb: thumbItem ? `${config.url}/attachment/read/${thumbItem.mongoId}` : undefined
});
}