Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
galaxy-iOS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mobile-group
galaxy-iOS
Commits
879f6f74
Commit
879f6f74
authored
Jun 28, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
出现一键登录之后的跳转问题
parent
b28cd000
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
YHAllowUseMyInfoViewController.swift
.../Modules/Login(登录)/C/YHAllowUseMyInfoViewController.swift
+1
-0
YHCodeSueecssViewController.swift
...ses/Modules/Login(登录)/C/YHCodeSueecssViewController.swift
+3
-3
No files found.
galaxy/galaxy/Classes/Modules/Login(登录)/C/YHAllowUseMyInfoViewController.swift
View file @
879f6f74
...
...
@@ -75,6 +75,7 @@ class YHAllowUseMyInfoViewController: YHBaseViewController {
guard
let
self
=
self
else
{
return
}
viewModel
.
requestBusinessCardAuthorize
{[
weak
self
]
success
,
error
in
guard
let
self
=
self
else
{
return
}
TXCommonHandler
.
sharedInstance
()
.
cancelLoginVC
(
animated
:
true
)
self
.
dismiss
(
animated
:
true
)
{
let
view
=
YHLoginOneLeadView
(
frame
:
CGRect
(
x
:
0
,
y
:
0
,
width
:
KScreenWidth
,
height
:
KScreenHeight
))
let
window
=
UIApplication
.
shared
.
yhKeyWindow
()
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/C/YHCodeSueecssViewController.swift
View file @
879f6f74
...
...
@@ -168,12 +168,12 @@ class YHCodeSueecssViewController: YHBaseViewController {
}
else
{
YHLoginManager
.
shared
.
loginSuccessActionBlock
?()
YHHUD
.
flash
(
message
:
"登录成功"
)
TXCommonHandler
.
sharedInstance
()
.
cancelLoginVC
(
animated
:
true
)
if
YHLoginManager
.
shared
.
userModel
?
.
is_first_login
==
1
{
let
vc
=
YHUserInfoSettingViewController
()
vc
.
modalPresentationStyle
=
.
fullScreen
self
.
navigationController
?
.
pushViewController
(
vc
)
}
else
{
TXCommonHandler
.
sharedInstance
()
.
cancelLoginVC
(
animated
:
true
)
self
.
dismiss
(
animated
:
true
)
}
}
...
...
@@ -189,12 +189,12 @@ class YHCodeSueecssViewController: YHBaseViewController {
}
else
{
YHLoginManager
.
shared
.
loginSuccessActionBlock
?()
YHHUD
.
flash
(
message
:
"登录成功"
)
TXCommonHandler
.
sharedInstance
()
.
cancelLoginVC
(
animated
:
true
)
if
YHLoginManager
.
shared
.
userModel
?
.
is_first_login
==
1
{
let
vc
=
YHUserInfoSettingViewController
()
vc
.
modalPresentationStyle
=
.
fullScreen
self
.
navigationController
?
.
pushViewController
(
vc
)
}
else
{
TXCommonHandler
.
sharedInstance
()
.
cancelLoginVC
(
animated
:
true
)
self
.
dismiss
(
animated
:
true
)
}
}
...
...
@@ -216,12 +216,12 @@ class YHCodeSueecssViewController: YHBaseViewController {
}
else
{
YHLoginManager
.
shared
.
loginSuccessActionBlock
?()
YHHUD
.
flash
(
message
:
"登录成功"
)
TXCommonHandler
.
sharedInstance
()
.
cancelLoginVC
(
animated
:
true
)
if
YHLoginManager
.
shared
.
userModel
?
.
is_first_login
==
1
{
let
vc
=
YHUserInfoSettingViewController
()
vc
.
modalPresentationStyle
=
.
fullScreen
self
?
.
navigationController
?
.
pushViewController
(
vc
)
}
else
{
TXCommonHandler
.
sharedInstance
()
.
cancelLoginVC
(
animated
:
true
)
self
?
.
dismiss
(
animated
:
true
)
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment