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
e4e1b5d4
Commit
e4e1b5d4
authored
Jan 12, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
消除 警告
parent
858b30c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
YHLoginViewController.swift
...y/Classes/Modules/Login(登录)/C/YHLoginViewController.swift
+6
-5
No files found.
galaxy/galaxy/Classes/Modules/Login(登录)/C/YHLoginViewController.swift
View file @
e4e1b5d4
...
...
@@ -207,15 +207,15 @@ extension YHLoginViewController {
if
Device
.
current
.
isSimulator
==
false
{
let
handler
=
TXCommonHandler
.
sharedInstance
()
handler
.
accelerateLoginPage
(
withTimeout
:
10
)
{
[
weak
self
]
dic
in
guard
let
self
=
self
else
{
return
}
handler
.
accelerateLoginPage
(
withTimeout
:
10
)
{
dic
in
// guard self != nil
else { return }
let
resultCode
=
dic
[
"resultCode"
]
as?
String
??
""
print
(
"resultCode:
\(
resultCode
)
"
)
}
var
model
=
TXCustomModel
()
let
model
=
TXCustomModel
()
model
.
navColor
=
.
orange
let
attributes
=
[
NSAttributedString
.
Key
.
font
:
UIFont
.
systemFont
(
ofSize
:
20
),
...
...
@@ -225,9 +225,10 @@ extension YHLoginViewController {
model
.
navTitle
=
NSAttributedString
(
string
:
"一键登录"
,
attributes
:
attributes
)
model
.
supportedInterfaceOrientations
=
UIInterfaceOrientationMask
.
portrait
handler
.
getLoginToken
(
withTimeout
:
10.0
,
controller
:
self
,
model
:
model
)
{
[
weak
self
]
dic
in
handler
.
getLoginToken
(
withTimeout
:
10.0
,
controller
:
self
,
model
:
model
)
{
dic
in
printLog
(
dic
)
guard
let
self
=
self
else
{
return
}
//
guard let self = self else { return }
}
...
...
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