mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
feat(projects): 1.0 beta
This commit is contained in:
12
src/locales/naive.ts
Normal file
12
src/locales/naive.ts
Normal file
@ -0,0 +1,12 @@
|
||||
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
|
||||
};
|
Reference in New Issue
Block a user