Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -21,7 +21,7 @@ export struct MultiPictureDetailItemComponent { | @@ -21,7 +21,7 @@ export struct MultiPictureDetailItemComponent { | ||
| 21 | .alt($r('app.media.datail_imageLoading_w')) | 21 | .alt($r('app.media.datail_imageLoading_w')) |
| 22 | 22 | ||
| 23 | .width(this.imageWidth) | 23 | .width(this.imageWidth) |
| 24 | - .objectFit(ImageFit.Contain) | 24 | + .objectFit(ImageFit.Auto) |
| 25 | .interpolation(ImageInterpolation.High) | 25 | .interpolation(ImageInterpolation.High) |
| 26 | .onComplete(event => { | 26 | .onComplete(event => { |
| 27 | this.imageWidth = '100%' | 27 | this.imageWidth = '100%' |
-
Please register or login to post a comment