chore: remove i18n

This commit is contained in:
Dawn1Ocean
2024-03-29 20:07:45 +08:00
parent cc5883f722
commit cfb57c04fd
11 changed files with 126 additions and 402 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import { AvatarDropdown, AvatarName, Footer, Question, SelectLang } from '@/components';
import { AvatarDropdown, AvatarName, Footer, Question } from '@/components';
import { currentUser as queryCurrentUser } from '@/services/ant-design-pro/api';
import { LinkOutlined } from '@ant-design/icons';
import type { Settings as LayoutSettings } from '@ant-design/pro-components';
@@ -49,7 +49,7 @@ export async function getInitialState(): Promise<{
// ProLayout 支持的api https://procomponents.ant.design/components/layout
export const layout: RunTimeLayoutConfig = ({ initialState, setInitialState }) => {
return {
actionsRender: () => [<Question key="doc" />, <SelectLang key="SelectLang" />],
actionsRender: () => [<Question key="doc" />],
avatarProps: {
src: initialState?.currentUser?.avatar,
title: <AvatarName />,