mirror of
https://gitee.com/bootx/dax-pay-ui.git
synced 2025-09-29 06:53:01 +00:00
fix: fixed moment locale config
修复moment的英文语言配置
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { genMessage } from '../helper';
|
||||
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');
|
||||
export default {
|
||||
@@ -8,6 +8,6 @@ export default {
|
||||
...genMessage(modules, 'en'),
|
||||
antdLocale,
|
||||
},
|
||||
momentLocale,
|
||||
momentLocaleName: 'eu',
|
||||
momentLocale: null,
|
||||
momentLocaleName: 'en',
|
||||
};
|
||||
|
Reference in New Issue
Block a user