<template>
  <div>
    <a-config-provider :csp="{ nonce: 'YourNonceCode' }" :component-shape="round" :locale="locale === 'en' ? enUS : zhCN">
      <router-view>
      </router-view>
    </a-config-provider>
  </div>
</template>
<script setup>
  import {ref,onMounted} from 'vue'
  import { useRouter} from "vue-router";
  import {ConfigProvider} from 'ant-design-vue';
  import zhCN from 'ant-design-vue/es/locale/zh_CN';
  import dayjs from 'dayjs';
  import 'dayjs/locale/zh-cn';
  dayjs.locale('zh')

  
</script>

<style>
#app{
  height: 100%;
  width: 100%;
}
@font-face {
  font-family: 'iconfont';  /* Project id 4102028 */
  src: url('//at.alicdn.com/t/c/font_4102028_lfautcw6p4a.woff2?t=1687834420731') format('woff2'),
       url('//at.alicdn.com/t/c/font_4102028_lfautcw6p4a.woff?t=1687834420731') format('woff'),
       url('//at.alicdn.com/t/c/font_4102028_lfautcw6p4a.ttf?t=1687834420731') format('truetype');
}
.iconfont{
  font-family:"iconfont" !important;
  color: #ffffff;
  font-size:16px;font-style:normal;
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke-width: 0.2px;
  -moz-osx-font-smoothing: grayscale;
}
</style>
