初始代码
This commit is contained in:
14
src/locales/lang/en_US.ts
Normal file
14
src/locales/lang/en_US.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import antdLocale from 'ant-design-vue/es/locale/en_US';
|
||||
import enCustomLocale from './en_US.json';
|
||||
import { flattenObject } from '../helper';
|
||||
|
||||
const customLocale = flattenObject(enCustomLocale);
|
||||
|
||||
export default {
|
||||
message: {
|
||||
...customLocale,
|
||||
antdLocale,
|
||||
},
|
||||
dateLocale: null,
|
||||
dateLocaleName: 'en_US',
|
||||
};
|
||||
Reference in New Issue
Block a user