🐞 fix(登录页面): 忘记密码显示提示框

This commit is contained in:
xuan
2022-09-27 16:51:42 +08:00
parent 37d9f85c82
commit e8bc813d11
3 changed files with 9 additions and 6 deletions
+2 -2
View File
@@ -128,10 +128,10 @@ const UserInfo: FC = () => {
<LayoutBlock circle>
<View className={styles.topBar}>
<View className={styles.left}>
<UserAvatar src={userInfo.userInfo.avatar_url} />
<UserAvatar src={userInfo.userInfo?.avatar_url} />
</View>
<View className={styles.middle}>
<Text className={styles.username}>{userInfo.userInfo.user_name}</Text>
<Text className={styles.username}>{userInfo.userInfo?.user_name}</Text>
<Text className={styles.userno}>{userInfo.userInfo.user_code}</Text>
</View>
<View className={styles.right}>