feat: integrate dayjs with duration plugin and update imports

This commit is contained in:
2026-04-23 20:37:43 +08:00
parent 2fc865ea57
commit e76e684b4d
4 changed files with 2 additions and 4 deletions
+6
View File
@@ -0,0 +1,6 @@
import dayjs from "dayjs"
import duration from "dayjs/plugin/duration"
dayjs.extend(duration)
export default dayjs
+1 -1
View File
@@ -1,5 +1,5 @@
import axios from "axios"
import dayjs from "dayjs"
import dayjs from "@/shared/dayjs"
const WebClient = axios.create({
baseURL: import.meta.env.VITE_API_BASE_URL,