From 843cdeb0ae3a0bf44197c6887abf151bc3cbe9b6 Mon Sep 17 00:00:00 2001 From: lxm <1274844347@qq.com> Date: Wed, 2 Apr 2025 15:22:34 +0800 Subject: [PATCH] =?UTF-8?q?=E9=98=B2=E6=AD=A2=E5=9C=A8=E5=BD=93=E5=89=8D?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E9=87=8D=E5=A4=8D=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/core/widgets/common_bottom_nav.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/core/widgets/common_bottom_nav.dart b/lib/core/widgets/common_bottom_nav.dart index 4a7e0dbad..04c9d5b31 100644 --- a/lib/core/widgets/common_bottom_nav.dart +++ b/lib/core/widgets/common_bottom_nav.dart @@ -18,6 +18,7 @@ class CommonBottomNav extends StatelessWidget { currentIndex: currentIndex, onTap: (index) { // Navigate to the appropriate page based on index + if(index ==currentIndex) return;//如果是当前页面,不跳转 switch (index) { case 0: Get.offAllNamed(Routes.home);