ignore case sensitive of expectCompanies

This commit is contained in:
geekgeekrun
2025-04-20 14:12:40 +08:00
parent 4a82e9e345
commit 011c22e0fe
2 changed files with 2 additions and 2 deletions

View File

@@ -539,7 +539,7 @@ async function toRecommendPage (hooks) {
tempTargetJobIndexToCheckDetail = jobListData.findIndex(it =>
!blockBossNotNewChat.has(it.encryptBossId) &&
!blockBossNotActive.has(it.encryptBossId) &&
[...expectCompanySet].find(name => it.brandName.includes(name)) &&
[...expectCompanySet].find(name => it.brandName?.toLowerCase?.()?.includes(name.toLowerCase())) &&
!blockJobNotSuit.has(it.encryptJobId)
)
}

View File

@@ -21,7 +21,7 @@
</el-form-item>
<el-form-item prop="expectCompanies" mb10px>
<div font-size-12px>
期望公司以逗号分隔<el-tooltip
期望公司以逗号分隔不区分大小写<el-tooltip
effect="light"
placement="bottom-start"
@show="gtagRenderer('tooltip_shown_about_expect_company_figure')"