update
This commit is contained in:
+12
-3
@@ -1,6 +1,15 @@
|
||||
<template>
|
||||
<router-view />
|
||||
<a-config-provider :locale="locle">
|
||||
<router-view />
|
||||
</a-config-provider>
|
||||
</template>
|
||||
<script setup lang="ts"></script>
|
||||
<script setup lang="ts">
|
||||
import zhCN from 'ant-design-vue/es/locale/zh_CN';
|
||||
import dayjs from 'dayjs';
|
||||
import 'dayjs/locale/zh-cn';
|
||||
|
||||
dayjs.locale('zh-cn');
|
||||
const locle = zhCN;
|
||||
</script>
|
||||
<style lang="less" src="./assets/less/index.less"></style>
|
||||
<style lang="less" scoped></style>
|
||||
<style lang="less" scoped></style>
|
||||
Reference in New Issue
Block a user