diff --git a/src/pages/User/Login/index.tsx b/src/pages/User/Login/index.tsx index 5cf6ae20..ef483074 100644 --- a/src/pages/User/Login/index.tsx +++ b/src/pages/User/Login/index.tsx @@ -16,8 +16,9 @@ import { ProFormText, } from '@ant-design/pro-components'; import { useEmotionCss } from '@ant-design/use-emotion-css'; -import { FormattedMessage, history, SelectLang, useIntl, useModel } from '@umijs/max'; +import { FormattedMessage, history, SelectLang, useIntl, useModel, Helmet } from '@umijs/max'; import { Alert, message, Tabs } from 'antd'; +import Settings from '../../../../config/defaultSettings'; import React, { useState } from 'react'; import { flushSync } from 'react-dom'; @@ -144,6 +145,15 @@ const Login: React.FC = () => { return (
+ + + {intl.formatMessage({ + id: 'menu.login', + defaultMessage: '登录页', + })} + - {Settings.title} + +