Merge remote-tracking branch 'origin/feature/ui' into feature/multi-process

This commit is contained in:
geekgeekrun
2026-02-06 05:45:11 +08:00
6 changed files with 174 additions and 16 deletions
@@ -39,6 +39,9 @@ function combine(arr, min, max) {
// 生成符合"0"限制的组合
function combineWithZero(arr, min, max) {
let combineResult;
if (!Array.isArray(arr)) {
arr = []
}
if (arr.includes(0)) {
// 如果包含 00不参与组合
combineResult = [].concat(
@@ -612,7 +612,7 @@ async function toRecommendPage (hooks) {
return true
}
return false
}).then((res) => {
}, { timeout: 120 * 1000 }).then((res) => {
return res.json()
})
page.goto(recommendJobPageUrl, { timeout: 1 * 1000 }).catch(e => { void e })
@@ -635,7 +635,7 @@ async function toRecommendPage (hooks) {
let userInfoResponse = await userInfoPromise
await hooks.userInfoResponse?.promise(userInfoResponse)
if (userInfoResponse.code !== 0) {
if (userInfoResponse?.code !== 0) {
autoStartChatEventBus.emit('LOGIN_STATUS_INVALID', {
userInfoResponse
})