19 lines
408 B
Vue
19 lines
408 B
Vue
|
|
<template>
|
|||
|
|
<!--element-plus语言国际化,全局修改为中文-->
|
|||
|
|
<el-config-provider :locale="zhCn">
|
|||
|
|
<router-view/>
|
|||
|
|
</el-config-provider>
|
|||
|
|
</template>
|
|||
|
|
|
|||
|
|
<script lang="ts" setup>
|
|||
|
|
defineOptions({
|
|||
|
|
name: "App"
|
|||
|
|
})
|
|||
|
|
import { ElConfigProvider } from 'element-plus'
|
|||
|
|
import zhCn from 'element-plus/es/locale/lang/zh-cn'
|
|||
|
|
|
|||
|
|
document.getElementById('loadingPage').remove()
|
|||
|
|
|
|||
|
|
</script>
|
|||
|
|
<style scoped></style>
|