瀏覽代碼

account change to name

master
Anna Ho 1 年之前
父節點
當前提交
bb43fbc4be
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      src/layout/MainLayout/Header/HeaderContent/Profile/index.js

+ 2
- 2
src/layout/MainLayout/Header/HeaderContent/Profile/index.js 查看文件

@@ -107,7 +107,7 @@ const Profile = () => {
>
<Stack direction="row" alignItems="center" sx={{ p: 0.5 }}>
<AccountCircleIcon style={{ color: 'black' }} alt="profile user" src={avatar1} sx={{ width: 32, height: 32 }} />
<Typography style={{ color: 'black',fontFamily: "微軟正黑體", fontSize: "1.2rem" }} variant="subtitle1">{userData == null ? "" : userData.fullenName}</Typography>
<Typography style={{ color: 'black',fontFamily: "微軟正黑體", fontSize: "1.2rem" }} variant="subtitle1">{userData == null ? "" : (userData.fullenName?userData.fullenName: userData.fullchName)}</Typography>
</Stack>
</ButtonBase>
<Popper
@@ -150,7 +150,7 @@ const Profile = () => {
<Stack direction="row" spacing={1.25} alignItems="center">
<AccountCircleIcon style={{ color: 'black' }} alt="profile user" src={avatar1} sx={{ width: 32, height: 32 }} />
<Stack>
<Typography style={{ color: 'black',fontFamily: "微軟正黑體", fontSize: "1.2rem" }} variant="subtitle1">{userData == null ? "" : userData.fullenName}</Typography>
<Typography style={{ color: 'black',fontFamily: "微軟正黑體", fontSize: "1.2rem" }} variant="subtitle1">{userData == null ? "" : (userData.fullenName?userData.fullenName: userData.fullchName)}</Typography>
{/* <Typography variant="body2" color="textSecondary">
{userData == null ? "" : userData.fullenName}
</Typography> */}


Loading…
取消
儲存