mirror of
https://github.com/FatttSnake/Pinnacle-OA.git
synced 2026-04-05 15:01:23 +08:00
Added global internationalization
This commit is contained in:
@@ -1,7 +1,19 @@
|
|||||||
<template>
|
<template>
|
||||||
<router-view></router-view>
|
<el-config-provider :locale="zhCn()">
|
||||||
|
<router-view></router-view>
|
||||||
|
</el-config-provider>
|
||||||
</template>
|
</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>
|
<style scoped></style>
|
||||||
|
|||||||
Reference in New Issue
Block a user