fix(staff): 默认统计窗改近30天(覆盖smoke.db数据范围,数字不再全0)
This commit is contained in:
@@ -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]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user