mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-01-23 17:50:25 +08:00
fix: fixed moment locale config
修复moment的英文语言配置
This commit is contained in:
parent
d1e0e8bcea
commit
27207a78ca
@ -1,6 +1,6 @@
|
|||||||
import { genMessage } from '../helper';
|
import { genMessage } from '../helper';
|
||||||
import antdLocale from 'ant-design-vue/es/locale/en_US';
|
import antdLocale from 'ant-design-vue/es/locale/en_US';
|
||||||
import momentLocale from 'moment/dist/locale/eu';
|
// import momentLocale from 'moment/dist/locale/en-us';
|
||||||
|
|
||||||
const modules = import.meta.globEager('./en/**/*.ts');
|
const modules = import.meta.globEager('./en/**/*.ts');
|
||||||
export default {
|
export default {
|
||||||
@ -8,6 +8,6 @@ export default {
|
|||||||
...genMessage(modules, 'en'),
|
...genMessage(modules, 'en'),
|
||||||
antdLocale,
|
antdLocale,
|
||||||
},
|
},
|
||||||
momentLocale,
|
momentLocale: null,
|
||||||
momentLocaleName: 'eu',
|
momentLocaleName: 'en',
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user