forked from wangjiadong/comp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
549 B
21 lines
549 B
<template> |
|
<ConfigProvider :locale="getAntdLocale"> |
|
<AppProvider> |
|
<RouterView /> |
|
</AppProvider> |
|
</ConfigProvider> |
|
</template> |
|
|
|
<script lang="ts" setup> |
|
import { ConfigProvider } from 'ant-design-vue'; |
|
import { AppProvider } from '/@/components/Application'; |
|
import { useTitle } from '/@/hooks/web/useTitle'; |
|
import { useLocale } from '/@/locales/useLocale'; |
|
|
|
// 解决日期时间国际化问题 |
|
import 'dayjs/locale/zh-cn'; |
|
// support Multi-language |
|
const { getAntdLocale } = useLocale(); |
|
|
|
useTitle(); |
|
</script>
|
|
|