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
aaa0c110
Commit
aaa0c110
authored
Jun 25, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 人脉
parent
f84d6c60
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
YHMatchUserInfo.swift
...axy/Classes/Modules/Community(社区)/M/YHMatchUserInfo.swift
+1
-1
YHMyEducationCell.swift
...y/Classes/Modules/Community(社区)/V/YHMyEducationCell.swift
+1
-1
YHMyWorkExperienceCell.swift
...sses/Modules/Community(社区)/V/YHMyWorkExperienceCell.swift
+1
-1
No files found.
galaxy/galaxy/Classes/Modules/Community(社区)/M/YHMatchUserInfo.swift
View file @
aaa0c110
...
@@ -102,7 +102,7 @@ class YHUserNameCardInfo: SmartCodable {
...
@@ -102,7 +102,7 @@ class YHUserNameCardInfo: SmartCodable {
}
}
var
isHiddenWorkExperience
:
Bool
{
var
isHiddenWorkExperience
:
Bool
{
get
{
get
{
return
self
.
authorization
.
education
Experience
!=
2
return
self
.
authorization
.
work
Experience
!=
2
}
}
}
}
var
isCurrentUser
=
false
var
isCurrentUser
=
false
...
...
galaxy/galaxy/Classes/Modules/Community(社区)/V/YHMyEducationCell.swift
View file @
aaa0c110
...
@@ -42,7 +42,7 @@ class YHMyEducationCell: UITableViewCell {
...
@@ -42,7 +42,7 @@ class YHMyEducationCell: UITableViewCell {
}
}
if
self
.
userModel
.
isCurrentUser
{
if
self
.
userModel
.
isCurrentUser
{
self
.
hiddenBtn
.
isHidden
=
(
self
.
userModel
.
authorization
.
educationExperience
==
1
)
self
.
hiddenBtn
.
isHidden
=
self
.
userModel
.
isHiddenEducation
}
else
{
}
else
{
self
.
hiddenBtn
.
isHidden
=
true
self
.
hiddenBtn
.
isHidden
=
true
...
...
galaxy/galaxy/Classes/Modules/Community(社区)/V/YHMyWorkExperienceCell.swift
View file @
aaa0c110
...
@@ -98,7 +98,7 @@ class YHMyWorkExperienceCell: UITableViewCell {
...
@@ -98,7 +98,7 @@ class YHMyWorkExperienceCell: UITableViewCell {
}
}
if
self
.
userModel
.
isCurrentUser
{
if
self
.
userModel
.
isCurrentUser
{
self
.
hiddenBtn
.
isHidden
=
(
self
.
userModel
.
authorization
.
workExperience
==
1
)
self
.
hiddenBtn
.
isHidden
=
self
.
userModel
.
isHiddenWorkExperience
}
else
{
}
else
{
self
.
hiddenBtn
.
isHidden
=
true
self
.
hiddenBtn
.
isHidden
=
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