<template>
  <!--element-plus全局中文国际化-->
  <el-config-provider :locale="zhCn">
    <router-view />
    <!--回到顶部-->
    <el-backtop :right="50" :bottom="50" />
  </el-config-provider>
</template>
<script lang="ts" setup>
// https://element-plus.org/zh-CN/guide/i18n.html
import { ElConfigProvider } from 'element-plus'
import zhCn from 'element-plus/lib/locale/lang/zh-cn'
</script>
<style lang="scss">
/*自定义nprogress顶部进度条颜色*/
#nprogress .bar {
  //background: #304156 !important;
}
</style>
