Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -291,7 +291,7 @@ export struct SearchResultContentComponent { | @@ -291,7 +291,7 @@ export struct SearchResultContentComponent { | ||
| 291 | Divider().strokeWidth(5).color('#f5f5f5').padding({ left: 0, right: 0 }) | 291 | Divider().strokeWidth(5).color('#f5f5f5').padding({ left: 0, right: 0 }) |
| 292 | } | 292 | } |
| 293 | } else { | 293 | } else { |
| 294 | - if(this.data.get(index + 1).sameContentListSize > 0) { | 294 | + if(this.data?.get(index + 1)?.sameContentListSize > 0) { |
| 295 | Divider() | 295 | Divider() |
| 296 | .width('100%') | 296 | .width('100%') |
| 297 | .color($r('app.color.color_F5F5F5')) | 297 | .color($r('app.color.color_F5F5F5')) |
-
Please register or login to post a comment