refactor(web): 统一 dayjs 导入为集中初始化 — 11 个文件
Some checks failed
CI / security-audit (push) Has been cancelled
CI / rust-check (push) Has been cancelled
CI / rust-test (push) Has been cancelled
CI / frontend-build (push) Has been cancelled

所有 health 页面从 import dayjs from 'dayjs' 迁移到
import { dayjs } from '.../utils/dayjs',确保 relativeTime
和 zh-cn locale 全局生效。
This commit is contained in:
iven
2026-04-28 01:47:13 +08:00
parent 5b47f13ecf
commit 4cfbdec5fc
11 changed files with 11 additions and 11 deletions

View File

@@ -18,7 +18,7 @@ import {
Empty,
} from 'antd';
import { PlusOutlined, EditOutlined } from '@ant-design/icons';
import dayjs from 'dayjs';
import { dayjs } from '../../utils/dayjs';
import type { Dayjs } from 'dayjs';
import {
appointmentApi,