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

This commit is contained in:
guozhigq
2024-03-24 13:42:40 +08:00
parent 0f0546ae59
commit 77b509fd17
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;