fix:专栏图文渲染异常

This commit is contained in:
guozhigq
2024-10-27 23:46:33 +08:00
parent de2b2907a6
commit 3e630334ca
2 changed files with 9 additions and 7 deletions

View File

@ -20,7 +20,7 @@ class MemberArticleController extends GetxController {
}
Future getMemberArticle(type) async {
if (isLoading.value) {
if (isLoading.value || !hasMore) {
return;
}
isLoading.value = true;

View File

@ -113,12 +113,14 @@ class _MemberArticlePageState extends State<MemberArticlePage> {
'articleType': 'opus',
});
},
leading: NetworkImgLayer(
leading: item?.cover != null
? NetworkImgLayer(
width: 50,
height: 50,
type: 'emote',
src: item?.cover?['url'] ?? '',
),
)
: const SizedBox(),
title: Text(
item.content,
maxLines: 2,