fix(antdv): 修改antdv的默认语言为中文

This commit is contained in:
menghany 2026-01-09 09:40:03 +08:00 committed by Wenjie Zhang
parent ddd4368977
commit 98cc3f91c9

View File

@ -1,4 +1,5 @@
<script setup>
import zhCN from 'ant-design-vue/es/locale/zh_CN';
import { useAgentStore } from '@/stores/agent'
import { useUserStore } from '@/stores/user'
import { useThemeStore } from '@/stores/theme'
@ -17,6 +18,7 @@ onMounted(async () => {
<template>
<a-config-provider
:theme="themeStore.currentTheme"
:locale="zhCN"
>
<router-view />
</a-config-provider>