fix: failed to search history

This commit is contained in:
bggRGjQaUbCoE
2024-10-21 18:08:10 +08:00
parent 9d48072515
commit ef80589636
5 changed files with 66 additions and 55 deletions

View File

@@ -56,7 +56,7 @@ class MemberControllerNew extends CommonController
tabs = tab2!.map((item) => Tab(text: item.title ?? '')).toList();
tabController = TabController(
vsync: this,
length: response.response.tab2.length,
length: tab2!.length,
initialIndex: initialIndex == -1 ? 0 : initialIndex,
);
}