init项目

This commit is contained in:
2024-08-07 21:48:24 +08:00
parent 54cf1247fa
commit 2c3a02d33b
10 changed files with 126 additions and 0 deletions

18
frontend/src/App.vue Normal file
View File

@@ -0,0 +1,18 @@
<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>