mirror of
https://gitee.com/openharmony/applications_photos
synced 2025-02-17 05:38:21 +00:00
Signed-off-by: Fanny <1179195791@qq.com>
Changes to be committed:
This commit is contained in:
parent
1d43e64cd7
commit
144b371ad3
@ -638,7 +638,7 @@ export struct TimelinePage {
|
||||
Stack() {
|
||||
Grid(this.scroller) {
|
||||
LazyForEach(this.dataSource, (item) => {
|
||||
if (item.viewType == ViewType.GROUP_TITLE) {
|
||||
if (item && item.viewType == ViewType.GROUP_TITLE) {
|
||||
GridItem() {
|
||||
TimelineTitleComponent({
|
||||
groupData: item.viewData,
|
||||
@ -646,7 +646,7 @@ export struct TimelinePage {
|
||||
isSelected: this.groupSelectMode[item.viewIndex]
|
||||
})
|
||||
}.columnStart(0).columnEnd(this.gridRowCount - 1)
|
||||
} else {
|
||||
} else if (item && item.viewType == ViewType.ITEM) {
|
||||
GridItem() {
|
||||
ImageGridItemComponent({
|
||||
item: item.viewData.mediaItem,
|
||||
|
Loading…
x
Reference in New Issue
Block a user