Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -377,7 +377,7 @@ struct MineHomePage { | @@ -377,7 +377,7 @@ struct MineHomePage { | ||
| 377 | .onClick(() => { | 377 | .onClick(() => { |
| 378 | router.back() | 378 | router.back() |
| 379 | }) | 379 | }) |
| 380 | - Image(`${this.headPhotoUrl}`) | 380 | + Image(this.headPhotoUrl&&this.headPhotoUrl.length>0?this.headPhotoUrl:(this.userType === "1"?$r('app.media.default_head_userPage'):$r('app.media.AccountOwner_DefaultIcon'))) |
| 381 | .alt($r('app.media.default_head')) | 381 | .alt($r('app.media.default_head')) |
| 382 | .width('60lpx') | 382 | .width('60lpx') |
| 383 | .height('60lpx') | 383 | .height('60lpx') |
-
Please register or login to post a comment