feat: 功能优化

This commit is contained in:
2026-01-18 02:35:41 +08:00
parent 961e4bcc77
commit 85073b7960
3 changed files with 377 additions and 199 deletions

View File

@@ -5,7 +5,7 @@ import { theme } from 'ant-design-vue'
import SvgSprite from '@/components/icons/SvgSprite.vue'
import { useUserStore } from '@/stores/user'
import tokenManager from '@gold/utils/token-manager'
import zhCN from 'ant-design-vue/es/locale/zh_CN';
const themeToken = ref({
token: {
colorPrimary: '#3B82F6',
@@ -70,7 +70,7 @@ onMounted(async () => {})
</script>
<template>
<a-config-provider :theme="themeToken">
<a-config-provider :theme="themeToken" :locale="zhCN">
<SvgSprite />
<keep-alive>
<RouterView />