feat: 功能优化
This commit is contained in:
@@ -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 />
|
||||
|
||||
Reference in New Issue
Block a user