<template>
  <el-config-provider :locale="zhCn">
    <RouterView />
    <!-- 全局登录弹窗 -->
    <LoginDialog />
  </el-config-provider>
</template>

<script setup lang="ts">
import { RouterView } from 'vue-router'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import LoginDialog from '@/components/LoginDialog.vue'
</script>

<style lang="scss">
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
</style>
