Skip to content

Commit

Permalink
fix: title={false} should work in login page (#11364)
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 authored Oct 9, 2024
1 parent db2631e commit 5c7882f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/User/Login/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ const Login: React.FC = () => {
id: 'menu.login',
defaultMessage: '登录页',
})}
- {Settings.title}
{Settings.title && ` - ${Settings.title}`}
</title>
</Helmet>
<Lang />
Expand Down

0 comments on commit 5c7882f

Please sign in to comment.