update 升级@intlify/unplugin-vue-i18n版本依赖

update i18n使用方法。
add 新增i18n vite插件。
This commit is contained in:
LiuHao
2024-01-11 14:27:46 +08:00
parent 31da01bdd1
commit 024783588e
7 changed files with 65 additions and 18 deletions

View File

@ -1,5 +1,5 @@
<template>
<el-config-provider :locale="appStore.locale" :size="size">
<el-config-provider :locale="appStore.locale" :size="appStore.size">
<router-view />
</el-config-provider>
</template>
@ -10,7 +10,6 @@ import { handleThemeStyle } from '@/utils/theme';
import useAppStore from '@/store/modules/app';
const appStore = useAppStore();
const size = computed(() => appStore.size);
onMounted(() => {
nextTick(() => {