diff --git a/lib/pages/video/detail/introduction/widgets/fav_panel.dart b/lib/pages/video/detail/introduction/widgets/fav_panel.dart index 6628e596..c70e1b38 100644 --- a/lib/pages/video/detail/introduction/widgets/fav_panel.dart +++ b/lib/pages/video/detail/introduction/widgets/fav_panel.dart @@ -102,14 +102,24 @@ class _FavPanelState extends State { ), ); } else { - return HttpError( - errMsg: data['msg'], - fn: () => setState(() {}), + return CustomScrollView( + controller: widget.scrollController, + slivers: [ + HttpError( + errMsg: data['msg'], + fn: () => setState(() { + _futureBuilderFuture = + widget.ctr!.queryVideoInFolder(); + }), + ) + ], ); } } else { // 骨架屏 - return const Text('请求中'); + return const Center( + child: CircularProgressIndicator(), + ); } }, ),