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