Showing
1 changed file
with
5 additions
and
5 deletions
| @@ -60,12 +60,12 @@ export struct CarderInteraction { | @@ -60,12 +60,12 @@ export struct CarderInteraction { | ||
| 60 | }) | 60 | }) |
| 61 | } | 61 | } |
| 62 | 62 | ||
| 63 | - if(this.contentDetailData.rmhInfo != null){ | ||
| 64 | - if(this.contentDetailData.shareInfo != null && 1 == this.contentDetailData.shareInfo.shareOpen && 1 == this.contentDetailData.rmhInfo.cnShareControl){ | ||
| 65 | - this.shareLayout() | 63 | + if(this.contentDTO.rmhInfo != null){ |
| 64 | + if(this.contentDTO.shareInfo != null && 1 == this.contentDTO.shareInfo.shareOpen && 1 == this.contentDTO.rmhInfo.cnShareControl){ | ||
| 65 | + this.commentLayout() | ||
| 66 | } | 66 | } |
| 67 | }else{ | 67 | }else{ |
| 68 | - this.shareLayout() | 68 | + this.commentLayout() |
| 69 | } | 69 | } |
| 70 | 70 | ||
| 71 | this.builderLike() | 71 | this.builderLike() |
| @@ -81,7 +81,7 @@ export struct CarderInteraction { | @@ -81,7 +81,7 @@ export struct CarderInteraction { | ||
| 81 | } | 81 | } |
| 82 | 82 | ||
| 83 | @Builder | 83 | @Builder |
| 84 | - shareLayout() { | 84 | + commentLayout() { |
| 85 | Row() { | 85 | Row() { |
| 86 | Image($r('app.media.CarderInteraction_comment')) | 86 | Image($r('app.media.CarderInteraction_comment')) |
| 87 | .width(18) | 87 | .width(18) |
-
Please register or login to post a comment