Browse Source

界面消失

jsonwang 4 years ago
parent
commit
32e3f2d1be

+ 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)
                 }
             }