fix: search hotword error widget

This commit is contained in:
bggRGjQaUbCoE
2024-08-28 16:24:55 +08:00
parent 9321004698
commit 1abc9633dd
2 changed files with 7 additions and 2 deletions

View File

@@ -189,11 +189,15 @@ class _SearchPageState extends State<SearchPage> with RouteAware {
);
} else {
return CustomScrollView(
shrinkWrap: true,
slivers: [
HttpError(
errMsg: data['msg'],
fn: () => setState(() {}),
)
fn: () => setState(() {
_futureBuilderFuture =
_searchController.queryHotSearchList();
}),
),
],
);
}