opt: 排行榜切换tab数据缓存

This commit is contained in:
guozhigq
2024-03-24 13:42:40 +08:00
parent 4db5a950f3
commit 031d57e1fd
2 changed files with 9 additions and 3 deletions

View File

@ -9,7 +9,7 @@ import 'package:pilipala/utils/storage.dart';
class RankController extends GetxController with GetTickerProviderStateMixin {
bool flag = false;
late RxList tabs = [].obs;
RxInt initialIndex = 1.obs;
RxInt initialIndex = 0.obs;
late TabController tabController;
late List tabsCtrList;
late List<Widget> tabsPageList;