Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -28,7 +28,7 @@ export struct Card5Component { | @@ -28,7 +28,7 @@ export struct Card5Component { | ||
| 28 | .width(CommonConstants.FULL_WIDTH) | 28 | .width(CommonConstants.FULL_WIDTH) |
| 29 | .autoResize(true) | 29 | .autoResize(true) |
| 30 | .borderRadius($r('app.float.image_border_radius')) | 30 | .borderRadius($r('app.float.image_border_radius')) |
| 31 | - if (this.titleShowPolicy === 1 && this.contentDTO.newsTitle) { | 31 | + if ((this.titleShowPolicy === 1 || this.contentDTO.titleShow === 1) && this.contentDTO.newsTitle) { |
| 32 | Row() | 32 | Row() |
| 33 | .width(CommonConstants.FULL_WIDTH) | 33 | .width(CommonConstants.FULL_WIDTH) |
| 34 | .height(59) | 34 | .height(59) |
-
Please register or login to post a comment