fix(antdv): 修改antdv的默认语言为中文
This commit is contained in:
parent
ddd4368977
commit
98cc3f91c9
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user