diff --git a/packages/geek-auto-start-chat-with-boss/index.mjs b/packages/geek-auto-start-chat-with-boss/index.mjs index fb0a381..0c2be8c 100644 --- a/packages/geek-auto-start-chat-with-boss/index.mjs +++ b/packages/geek-auto-start-chat-with-boss/index.mjs @@ -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 diff --git a/packages/ui/src/renderer/src/page/Configuration/GeekAutoStartChatWithBoss.vue b/packages/ui/src/renderer/src/page/Configuration/GeekAutoStartChatWithBoss.vue index 3724765..1a6f350 100644 --- a/packages/ui/src/renderer/src/page/Configuration/GeekAutoStartChatWithBoss.vue +++ b/packages/ui/src/renderer/src/page/Configuration/GeekAutoStartChatWithBoss.vue @@ -12,7 +12,10 @@ > - + { formContent.value.expectCompanies = res.config['target-company-list.json'].join(',') }) -const formRules = { -} +const formRules = {} const formRef = ref>() const handleSubmit = async () => {