fix any chat mode isn't taking effect

This commit is contained in:
geekgeekrun
2024-11-23 13:28:26 +08:00
parent d69245ff08
commit c018fb03ea
2 changed files with 7 additions and 4 deletions
@@ -57,7 +57,7 @@ export async function initPuppeteer () {
const bossCookies = readStorageFile('boss-cookies.json')
const bossLocalStorage = readStorageFile('boss-local-storage.json')
const targetCompanyList = readConfigFile('target-company-list.json')
const targetCompanyList = readConfigFile('target-company-list.json').filter(it => !!it.trim());
const localStoragePageUrl = `https://www.zhipin.com/desktop/`
const recommendJobPageUrl = `https://www.zhipin.com/web/geek/job-recommend`
@@ -168,6 +168,7 @@ async function toRecommendPage (hooks) {
) : jobListData.findIndex(
it => !blockBossNotNewChat.has(it.encryptBossId)
)
debugger
let hasReachLastPage = false