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
@@ -175,7 +175,7 @@ defineOptions({
name: "CustomerList"
});
type DateFilterType = "today" | "yesterday" | "lastWeek" | "thisMonth" | "lastMonth" | "all" | "custom";
type DateFilterType = "today" | "yesterday" | "thisWeek" | "thisMonth" | "lastMonth" | "all" | "custom";
const router = useRouter();
const userStore = useUserStore();
@@ -201,7 +201,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: "lastMonth" },
{ label: "自定义范围", value: "custom" }