2024-08-07 21:48:24 +08:00
|
|
|
|
<template>
|
|
|
|
|
|
<!--element-plus语言国际化,全局修改为中文-->
|
2024-08-21 14:52:36 +08:00
|
|
|
|
<el-config-provider :locale='zhCn'>
|
|
|
|
|
|
<router-view />
|
2024-08-07 21:48:24 +08:00
|
|
|
|
</el-config-provider>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
2024-08-21 14:52:36 +08:00
|
|
|
|
<script lang='ts' setup>
|
2024-08-07 21:48:24 +08:00
|
|
|
|
defineOptions({
|
2024-08-21 14:52:36 +08:00
|
|
|
|
name: 'App',
|
2024-08-07 21:48:24 +08:00
|
|
|
|
})
|
|
|
|
|
|
import { ElConfigProvider } from 'element-plus'
|
|
|
|
|
|
import zhCn from 'element-plus/es/locale/lang/zh-cn'
|
|
|
|
|
|
|
2024-08-08 19:08:15 +08:00
|
|
|
|
document.getElementById('loadingPage')?.remove()
|
2024-08-07 21:48:24 +08:00
|
|
|
|
|
|
|
|
|
|
</script>
|
2024-08-21 14:52:36 +08:00
|
|
|
|
<style scoped>
|
|
|
|
|
|
|
|
|
|
|
|
</style>
|