csic21
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
9 additions and
0 deletions
-
config/config.ts
|
|
|
@ -80,6 +80,15 @@ export default defineConfig({ |
|
|
|
locale: true, |
|
|
|
...defaultSettings, |
|
|
|
}, |
|
|
|
/** |
|
|
|
* @name moment2dayjs 插件 |
|
|
|
* @description 将项目中的 moment 替换为 dayjs |
|
|
|
* @doc https://umijs.org/docs/max/moment2dayjs
|
|
|
|
*/ |
|
|
|
moment2dayjs: { |
|
|
|
preset: 'antd', |
|
|
|
plugins: ['duration'], |
|
|
|
}, |
|
|
|
/** |
|
|
|
* @name 国际化插件 |
|
|
|
* @doc https://umijs.org/docs/max/i18n
|
|
|
|
|