1
0
mirror of https://github.com/FatttSnake/Pinnacle-OA.git synced 2026-04-04 22:41:24 +08:00

Added global internationalization

This commit is contained in:
2023-05-15 09:25:25 +08:00
parent fdb075258d
commit 07a046562d

View File

@@ -1,7 +1,19 @@
<template>
<router-view></router-view>
<el-config-provider :locale="zhCn()">
<router-view></router-view>
</el-config-provider>
</template>
<script lang="ts"></script>
<script lang="ts">
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
export default {
methods: {
zhCn() {
return zhCn
}
}
}
</script>
<style scoped></style>