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

@@ -27,11 +27,11 @@ class _ZonePageState extends CommonPageState<ZonePage, ZoneController>
@override
void initState() {
super.initState();
controller = Get.put(
ZoneController(rid: widget.rid, seasonType: widget.seasonType),
tag: '${widget.rid}${widget.seasonType}',
);
super.initState();
}
@override