sso-login调整
This commit is contained in:
@@ -139,13 +139,13 @@ export default function HomePage() {
|
||||
color: '#04121f',
|
||||
background: 'linear-gradient(135deg, #00d4ff, #4f9eff)',
|
||||
}}>
|
||||
{userInfo.userId.charAt(0).toUpperCase()}
|
||||
{(userInfo.userName ?? userInfo.userId).charAt(0).toUpperCase()}
|
||||
</div>
|
||||
<span style={{
|
||||
fontSize: 13,
|
||||
...(isDark ? { color: 'rgba(168,216,255,0.85)' } : { color: '#334155' }),
|
||||
}}>
|
||||
{userInfo.userId}
|
||||
{userInfo.userName ?? userInfo.userId}
|
||||
</span>
|
||||
<button
|
||||
onClick={handleLogout}
|
||||
|
||||
Reference in New Issue
Block a user