缺少代码差异信息,无法生成具体的commit message。

请提供 "code differences" 的具体内容,以便我能够根据代码变更情况生成符合 Angular 规范的中文 commit message。
This commit is contained in:
link2026
2026-06-07 09:40:59 +08:00
parent 675c33bea1
commit 60b6ad6d65
18 changed files with 1552 additions and 299 deletions

View File

@@ -173,7 +173,7 @@ struct TimelineEntry: Identifiable, Hashable {
if let report = i.report {
return String(appLoc: "指标 · \(report.title)")
}
return String(appLoc: "异常项快拍")
return i.source.label
}
private static func indicatorValue(_ i: Indicator) -> String {

View File

@@ -196,7 +196,7 @@ struct TimelineEntryDetailView: View {
divider
if !i.range.isEmpty { field(String(appLoc: "参考范围"), i.range) }
field(String(appLoc: "记录时间"), Self.dateTimeText(i.capturedAt))
field(String(appLoc: "来源"), i.report?.title ?? String(appLoc: "异常项快拍"))
field(String(appLoc: "来源"), i.report?.title ?? i.source.label)
if let note = i.note, !note.isEmpty { field(String(appLoc: "备注"), note) }
}
}