更新注销bug

This commit is contained in:
wyf
2025-08-25 16:11:46 +08:00
parent 558bec0dd6
commit 5ac6c891b3
4 changed files with 74 additions and 71 deletions

View File

@@ -155,14 +155,14 @@ class MainPageBottomChange extends GetView<MainPageController> {
),
child: Scaffold(
backgroundColor: Colors.transparent,
// body: arr[controller.model.currentIndex],
body: IndexedStack(
// ✅ 改成 IndexedStack
index: controller.model.currentIndex,
children: arr
.map((page) => SizedBox.expand(child: page))
.toList(),
),
body: arr[controller.model.currentIndex],
// body: IndexedStack(
// // ✅ 改成 IndexedStack
// index: controller.model.currentIndex??3,
// children: arr
// .map((page) => SizedBox.expand(child: page))
// .toList(),
// ),
floatingActionButtonAnimator:
FloatingActionButtonAnimator.noAnimation,
floatingActionButtonLocation: