Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-01-31 13:10:09 +08:00
parent dbc7bcd0dd
commit 8964197b73
68 changed files with 560 additions and 293 deletions

View File

@@ -40,10 +40,16 @@ class PgcPage extends StatefulWidget {
class _PgcPageState extends CommonPageState<PgcPage, PgcController>
with AutomaticKeepAliveClientMixin {
@override
late PgcController controller = Get.put(
PgcController(tabType: widget.tabType),
tag: widget.tabType.name,
);
late final PgcController controller;
@override
void initState() {
super.initState();
controller = Get.put(
PgcController(tabType: widget.tabType),
tag: widget.tabType.name,
);
}
@override
bool get wantKeepAlive => true;