ruoyi-plus-soybean/src/locales/naive.ts

13 lines
335 B
TypeScript
Raw Normal View History

2023-11-17 08:45:00 +08:00
import { zhCN, enUS, dateZhCN, dateEnUS } from 'naive-ui';
import type { NLocale, NDateLocale } from 'naive-ui';
export const naiveLocales: Record<App.I18n.LangType, NLocale> = {
'zh-CN': zhCN,
'en-US': enUS
};
export const naiveDateLocales: Record<App.I18n.LangType, NDateLocale> = {
'zh-CN': dateZhCN,
'en-US': dateEnUS
};