fix: 标题&未登录收藏夹

This commit is contained in:
guozhigq
2023-06-23 19:39:47 +08:00
parent f0b4bde42e
commit 4a94b6ba8c
8 changed files with 42 additions and 12 deletions

View File

@@ -59,14 +59,19 @@ class _FavPageState extends State<FavPage> {
),
);
} else {
return HttpError(
errMsg: data['msg'],
fn: () => setState(() {}),
return CustomScrollView(
physics: const NeverScrollableScrollPhysics(),
slivers: [
HttpError(
errMsg: data['msg'],
fn: () => setState(() {}),
),
],
);
}
} else {
// 骨架屏
return Text('请求中');
return const Text('请求中');
}
},
),