fix(staff): 默认统计窗改近30天(覆盖smoke.db数据范围,数字不再全0)

This commit is contained in:
浅念
2026-08-11 13:53:55 +08:00
parent 538a0dc635
commit 05d1e41d31
+1 -1
View File
@@ -73,7 +73,7 @@ function defaultDateRange(): [Date, Date] {
const end = new Date()
end.setHours(23, 59, 59, 999)
const start = new Date(end)
start.setDate(start.getDate() - 2)
start.setDate(start.getDate() - 29)
start.setHours(0, 0, 0, 0)
return [start, end]
}