mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-24 07:16:08 +08:00
修复设置头像
This commit is contained in:
parent
bd35725b3c
commit
85d8565241
|
@ -98,7 +98,7 @@ const SecuritySettings = ({ user, userChange }: any) => {
|
|||
|
||||
useEffect(() => {
|
||||
setTwoFactorActivated(user && user.twoFactorActivated);
|
||||
setAvatar(user && user.avatar);
|
||||
setAvatar(user && `/api/static/${user.avatar}`);
|
||||
}, [user]);
|
||||
|
||||
return twoFactoring ? (
|
||||
|
|
Loading…
Reference in New Issue
Block a user