mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-09-07 00:17:17 +08:00
fix TypeError: notSuitConditionHandleMap[markOnBossCondition] is not a function
This commit is contained in:
@@ -1124,7 +1124,7 @@ async function toRecommendPage (hooks) {
|
|||||||
// 2. if there is no condition to mark Boss, then find the one mark on local db
|
// 2. if there is no condition to mark Boss, then find the one mark on local db
|
||||||
const markOnLocalDbCondition = Object.keys(notSuitReasonIdToStrategyMap).find(k => notSuitReasonIdToStrategyMap[k] === MarkAsNotSuitOp.MARK_AS_NOT_SUIT_ON_LOCAL)
|
const markOnLocalDbCondition = Object.keys(notSuitReasonIdToStrategyMap).find(k => notSuitReasonIdToStrategyMap[k] === MarkAsNotSuitOp.MARK_AS_NOT_SUIT_ON_LOCAL)
|
||||||
if (markOnLocalDbCondition) {
|
if (markOnLocalDbCondition) {
|
||||||
await notSuitConditionHandleMap[markOnBossCondition]()
|
await notSuitConditionHandleMap[markOnLocalDbCondition]()
|
||||||
continue continueFind
|
continue continueFind
|
||||||
}
|
}
|
||||||
// #endregion
|
// #endregion
|
||||||
|
|||||||
Reference in New Issue
Block a user