change lastWeek to thisWeek

This commit is contained in:
Timi
2026-09-22 00:36:31 +08:00
parent 9d5f04bf7c
commit c4d71078b3
6 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -138,7 +138,7 @@ import { formatEventNumberValue } from "@/utils/eventValue";
import { permissionCodes } from "@/utils/permission";
import { Message } from "@/utils/message.ts";
type DateFilterType = "all" | "today" | "yesterday" | "lastWeek" | "thisMonth" | "custom";
type DateFilterType = "all" | "today" | "yesterday" | "thisWeek" | "thisMonth" | "custom";
defineOptions({
name: "EventRecordRank"
@@ -157,7 +157,7 @@ const dateOptions: Array<{ label: string; value: DateFilterType }> = [
{ label: "全部时间", value: "all" },
{ label: "今天", value: "today" },
{ label: "昨天", value: "yesterday" },
{ label: "上周", value: "lastWeek" },
{ label: "本周", value: "thisWeek" },
{ label: "本月", value: "thisMonth" },
{ label: "自定义范围", value: "custom" }
];