Skip to content

Commit

Permalink
fix: 修复问题
Browse files Browse the repository at this point in the history
  • Loading branch information
JackySoft authored and jianbing.chen committed Dec 18, 2024
1 parent 2d92ef8 commit c453210
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/editor/src/pages/user/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,7 @@ const UserCenter = () => {
<div className={styles.profileContent}>
<div className={styles.profileInfo}>
<div className={styles.avatarWrapper}>
<Avatar
src={userInfo.avatar || 'https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png'}
size={128}
className={styles.avatar}
></Avatar>
<Avatar src={userInfo.avatar || '/imgs/avatar_default.png'} size={128} className={styles.avatar}></Avatar>
<Upload
showUploadList={false}
beforeUpload={beforeUpload}
Expand Down

0 comments on commit c453210

Please sign in to comment.