fix:专栏图文渲染异常
This commit is contained in:
@ -20,7 +20,7 @@ class MemberArticleController extends GetxController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Future getMemberArticle(type) async {
|
Future getMemberArticle(type) async {
|
||||||
if (isLoading.value) {
|
if (isLoading.value || !hasMore) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
isLoading.value = true;
|
isLoading.value = true;
|
||||||
|
|||||||
@ -113,12 +113,14 @@ class _MemberArticlePageState extends State<MemberArticlePage> {
|
|||||||
'articleType': 'opus',
|
'articleType': 'opus',
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
leading: NetworkImgLayer(
|
leading: item?.cover != null
|
||||||
|
? NetworkImgLayer(
|
||||||
width: 50,
|
width: 50,
|
||||||
height: 50,
|
height: 50,
|
||||||
type: 'emote',
|
type: 'emote',
|
||||||
src: item?.cover?['url'] ?? '',
|
src: item?.cover?['url'] ?? '',
|
||||||
),
|
)
|
||||||
|
: const SizedBox(),
|
||||||
title: Text(
|
title: Text(
|
||||||
item.content,
|
item.content,
|
||||||
maxLines: 2,
|
maxLines: 2,
|
||||||
|
|||||||
Reference in New Issue
Block a user