fix: 列表缺乏childCount限制

This commit is contained in:
orz12
2024-03-03 23:13:21 +08:00
parent 2a46652cc7
commit 8c6fd14d2f
2 changed files with 2 additions and 0 deletions

View File

@@ -116,6 +116,7 @@ Widget searchArticlePanel(BuildContext context, ctr, list) {
), ),
); );
}, },
childCount: list.length,
)) ))
]); ]);
} }

View File

@@ -76,6 +76,7 @@ Widget searchUserPanel(BuildContext context, ctr, list) {
), ),
); );
}, },
childCount: list!.length,
)) ))
]); ]);
} }