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.

45 lines
735 B

<template>
<!-- <el-config-provider :locale="zhCn">-->
<el-config-provider :locale="elementLocales[locale]">
<router-view></router-view>
</el-config-provider>
</template>
<script setup>
// import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import {useI18n} from "vue-i18n";
import {elementLocales} from "@/i18n/index.js";
const {locale} = useI18n();
locale.value = localStorage.getItem('locale') || 'zh-cn';
</script>
<style>
1 year ago
html,
body {
height: 100%;
}
1 year ago
#app {
1 year ago
height: 100%;
align-items: center;
justify-content: center;
}
.flex-center {
display: flex;
align-items: center;
justify-content: center;
}
.cursor {
cursor: pointer;
}
1 year ago
.txt-c {
text-align: center;
}
.w100p {
width: 100%;
}
</style>