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
79178490
Commit
79178490
authored
Dec 06, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// AI
parent
bc28e536
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
YHHomeHoldViewPageViewController.swift
...Modules/Home(首页)/C/YHHomeHoldViewPageViewController.swift
+4
-1
No files found.
galaxy/galaxy/Classes/Modules/Home(首页)/C/YHHomeHoldViewPageViewController.swift
View file @
79178490
...
@@ -485,7 +485,7 @@ extension YHHomeHoldViewPageViewController : UITabBarControllerDelegate {
...
@@ -485,7 +485,7 @@ extension YHHomeHoldViewPageViewController : UITabBarControllerDelegate {
guard
let
index
=
tabBarController
.
viewControllers
?
.
firstIndex
(
of
:
viewController
)
else
{
guard
let
index
=
tabBarController
.
viewControllers
?
.
firstIndex
(
of
:
viewController
)
else
{
return
false
return
false
}
}
if
index
==
1
||
index
==
2
{
// 点击服务tab或社区tab
if
index
==
1
||
index
==
3
{
// 点击服务tab或社区tab
if
YHLoginManager
.
shared
.
isLogin
()
{
if
YHLoginManager
.
shared
.
isLogin
()
{
return
true
return
true
}
else
{
}
else
{
...
@@ -498,6 +498,9 @@ extension YHHomeHoldViewPageViewController : UITabBarControllerDelegate {
...
@@ -498,6 +498,9 @@ extension YHHomeHoldViewPageViewController : UITabBarControllerDelegate {
return
false
return
false
}
}
}
}
if
index
==
2
{
// AI 港小宝
return
false
}
return
true
return
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