mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-30 15:25:47 +08:00
@@ -23,10 +23,16 @@ class ZonePage extends StatefulWidget {
|
||||
class _ZonePageState extends CommonPageState<ZonePage, ZoneController>
|
||||
with AutomaticKeepAliveClientMixin, GridMixin {
|
||||
@override
|
||||
late ZoneController controller = Get.put(
|
||||
ZoneController(rid: widget.rid, seasonType: widget.seasonType),
|
||||
tag: '${widget.rid}${widget.seasonType}',
|
||||
);
|
||||
late final ZoneController controller;
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
controller = Get.put(
|
||||
ZoneController(rid: widget.rid, seasonType: widget.seasonType),
|
||||
tag: '${widget.rid}${widget.seasonType}',
|
||||
);
|
||||
}
|
||||
|
||||
@override
|
||||
bool get wantKeepAlive => true;
|
||||
|
||||
Reference in New Issue
Block a user