<script setup lang="ts">
import { ElConfigProvider } from 'element-plus';
import { useAppStore, usetTheme } from '@/store/modules/app';
import locale from 'ant-design-vue/es/locale/zh_CN';

const appStore = useAppStore();
</script>

<template>
  <!-- 
  1.地图抽吸
  2.地图文字和点显示
   -->
  <el-config-provider :locale="appStore.locale" :size="appStore.size">
    <a-config-provider :theme="usetTheme" :locale="locale">
      <router-view />
    </a-config-provider>
  </el-config-provider>
</template>
