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
3a503c53
Commit
3a503c53
authored
Nov 07, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
崩溃提前阻断
parent
d04078c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
YHCompanySelectViewController.swift
...orkExperience(工作经验)/C/YHCompanySelectViewController.swift
+2
-1
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/WorkExperience(工作经验)/C/YHCompanySelectViewController.swift
View file @
3a503c53
...
...
@@ -185,7 +185,8 @@ extension YHCompanySelectViewController: UITableViewDelegate, UITableViewDataSou
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
let
cell
=
tableView
.
dequeueReusableCell
(
withClass
:
YHCompanyTableViewCell
.
self
)
let
newString
=
searchDataSource
?[
indexPath
.
row
]
.
company_name
?
.
highlighted
(
keyWords
:
searchView
.
text
,
highlightColor
:
UIColor
.
brandMainColor
)
guard
let
model
=
searchDataSource
,
model
.
count
>
indexPath
.
row
else
{
return
cell
}
let
newString
=
model
[
indexPath
.
row
]
.
company_name
?
.
highlighted
(
keyWords
:
searchView
.
text
,
highlightColor
:
UIColor
.
brandMainColor
)
cell
.
titleLabel
.
attributedText
=
newString
return
cell
}
...
...
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