fix: initialize controller before super (#1827)

This commit is contained in:
систем
2026-02-07 11:32:02 +08:00
committed by GitHub
parent 0c175abc0b
commit e8145ef65a
2 changed files with 2 additions and 2 deletions

View File

@@ -44,11 +44,11 @@ class _PgcPageState extends CommonPageState<PgcPage, PgcController>
@override
void initState() {
super.initState();
controller = Get.put(
PgcController(tabType: widget.tabType),
tag: widget.tabType.name,
);
super.initState();
}
@override