feat: 样式调整
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
<template>
|
||||
<a-config-provider :locale="zhCN" size="small" :theme="redTheme">
|
||||
<ConfigProvider :locale="zhCN" :theme="redTheme">
|
||||
<router-view v-if="$route.path === '/login' || ['ExploreList', 'ExploreDetail'].includes($route.name)" />
|
||||
<LayoutBasic v-else />
|
||||
</a-config-provider>
|
||||
</ConfigProvider>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
@ -12,7 +12,8 @@ import { useChatStore } from '@/stores/modules/chat';
|
||||
import { initApp } from '@/utils/user';
|
||||
import { useSidebarStore } from '@/stores/modules/side-bar';
|
||||
|
||||
import zhCN from '@arco-design/web-vue/es/locale/lang/zh-cn'; // 已移除
|
||||
import { ConfigProvider } from 'ant-design-vue';
|
||||
import zhCN from 'ant-design-vue/es/locale/zh_CN';
|
||||
|
||||
const userStore = useUserStore();
|
||||
const route = useRoute();
|
||||
|
||||
Reference in New Issue
Block a user