28 lines
639 B
Vue
28 lines
639 B
Vue
|
|
<template>
|
||
|
|
<a-config-provider :locale="zhCN">
|
||
|
|
<router-view />
|
||
|
|
</a-config-provider>
|
||
|
|
</template>
|
||
|
|
|
||
|
|
<script setup lang="ts">
|
||
|
|
import { ConfigProvider } from 'ant-design-vue';
|
||
|
|
import zhCN from 'ant-design-vue/es/locale/zh_CN';
|
||
|
|
|
||
|
|
const AConfigProvider = ConfigProvider;
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<style>
|
||
|
|
#app {
|
||
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
|
||
|
|
Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
||
|
|
'Noto Color Emoji', sans-serif;
|
||
|
|
-webkit-font-smoothing: antialiased;
|
||
|
|
-moz-osx-font-smoothing: grayscale;
|
||
|
|
}
|
||
|
|
|
||
|
|
body {
|
||
|
|
margin: 0;
|
||
|
|
padding: 0;
|
||
|
|
}
|
||
|
|
</style>
|