Skip to content

Commit 5c7882f

Browse files
authored
fix: title={false} should work in login page (#11364)
1 parent db2631e commit 5c7882f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/User/Login/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ const Login: React.FC = () => {
151151
id: 'menu.login',
152152
defaultMessage: '登录页',
153153
})}
154-
- {Settings.title}
154+
{Settings.title && ` - ${Settings.title}`}
155155
</title>
156156
</Helmet>
157157
<Lang />

0 commit comments

Comments
 (0)