chore: lint

This commit is contained in:
Jin Mao 2025-10-31 09:11:40 +08:00
parent 2cb3dcf499
commit f8a7a0a9a2
2 changed files with 7 additions and 10 deletions

View File

@ -1,6 +1,6 @@
import dayjs from 'dayjs'; import dayjs from "dayjs";
import timezone from 'dayjs/plugin/timezone'; import timezone from "dayjs/plugin/timezone";
import utc from 'dayjs/plugin/utc'; import utc from "dayjs/plugin/utc";
dayjs.extend(utc); dayjs.extend(utc);
dayjs.extend(timezone); dayjs.extend(timezone);

View File

@ -1,12 +1,9 @@
import { ref, unref } from 'vue'; import { ref, unref } from "vue";
import { DEFAULT_TIME_ZONE_OPTIONS } from '@vben-core/preferences'; import { DEFAULT_TIME_ZONE_OPTIONS } from "@vben-core/preferences";
import { import { getCurrentTimezone, setCurrentTimezone } from "@vben-core/shared/utils";
getCurrentTimezone,
setCurrentTimezone,
} from '@vben-core/shared/utils';
import { acceptHMRUpdate, defineStore } from 'pinia'; import { acceptHMRUpdate, defineStore } from "pinia";
interface TimezoneHandler { interface TimezoneHandler {
getTimezone?: () => Promise<null | string | undefined>; getTimezone?: () => Promise<null | string | undefined>;