소스 검색

界面消失

jsonwang 4 년 전
부모
커밋
32e3f2d1be
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      MusicVideoPlus/MusicVideoPlus/Classes/Modules/Login/Controllers/MVLoginController.swift

+ 1 - 1
MusicVideoPlus/MusicVideoPlus/Classes/Modules/Login/Controllers/MVLoginController.swift

@@ -231,7 +231,7 @@ extension MVLoginController: ASAuthorizationControllerDelegate, ASAuthorizationC
                     cShowHUB(superView: nil, msg: "登录失败,请重试~")
                 } else {
                     cShowHUB(superView: nil, msg: "登录成功")
-                    self?.navigationController?.popViewController(animated: true)
+                    self?.navigationController?.dismiss(animated: true, completion: nil)
                     postNotification(name: cLoginSuccesssNotiKey)
                 }
             }