<script setup>
// 在 Vue3 CompositionAPI 中
// 获取路由对象 router -> const router = useRouter()
// 获取路由参数 route -> const route = useRoute()
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
</script>

<template>
  <el-config-provider :locale="zhCn">
    <router-view></router-view>
  </el-config-provider>
</template>

<style scoped></style>
