fix:专栏图文渲染异常
This commit is contained in:
@ -20,7 +20,7 @@ class MemberArticleController extends GetxController {
|
||||
}
|
||||
|
||||
Future getMemberArticle(type) async {
|
||||
if (isLoading.value) {
|
||||
if (isLoading.value || !hasMore) {
|
||||
return;
|
||||
}
|
||||
isLoading.value = true;
|
||||
|
||||
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user