mirror of
https://github.com/m1ngsama/FUJI.git
synced 2025-12-24 10:51:27 +00:00
change default export time range
This commit is contained in:
parent
f4a7df3ab0
commit
bc35482cef
1 changed files with 3 additions and 2 deletions
|
|
@ -11,12 +11,13 @@ import {
|
|||
import { parseDate } from "@internationalized/date"
|
||||
import { saturdayApiBaseUrl } from "../../utils/client"
|
||||
import { makeLogtoClient } from "../../utils/auth"
|
||||
import dayjs from "dayjs"
|
||||
|
||||
export function ExportExcelModal() {
|
||||
const [isOpen, setIsOpen] = useState(false)
|
||||
const [dateRange, setDateRange] = useState({
|
||||
start: parseDate("2025-01-01"),
|
||||
end: parseDate("2025-05-16"),
|
||||
start: parseDate(dayjs().subtract(1, "month").format("YYYY-MM-DD")),
|
||||
end: parseDate(dayjs().format("YYYY-MM-DD")),
|
||||
})
|
||||
const [loading, setLoading] = useState(false)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue