Browse Source

[new]调整会员页返回逻辑

zk 5 months ago
parent
commit
a2b6825874
1 changed files with 4 additions and 1 deletions
  1. 4 1
      lib/module/member/member_controller.dart

+ 4 - 1
lib/module/member/member_controller.dart

@@ -302,7 +302,10 @@ class MemberController extends BaseController implements PaymentStatusCallback {
 
 
   void onPopBack({bool iosIsBack = true}) {
   void onPopBack({bool iosIsBack = true}) {
     if (Platform.isIOS) {
     if (Platform.isIOS) {
-      if (iosIsBack) back();
+      if (iosIsBack) {
+        back();
+        return;
+      }
       if (accountRepository.memberIsExpired()) {
       if (accountRepository.memberIsExpired()) {
         FocusScope.of(Get.context!).unfocus();
         FocusScope.of(Get.context!).unfocus();
         userCancelsPaymentDisplay();
         userCancelsPaymentDisplay();