INNER CODE UNIT · JavaScript
nextPageTask
yangfeng20/boss_batch_push · src/oop-self-req-main.js:1223
let nextPageTask = setInterval(() => {
if (!this.nextPage) {
logger.debug("正在等待当前页投递完毕...")
return;
}
clearInterval(nextPageTask)
if (!this.publishState) {
logger.info("投递结束")
TampermonkeyApi.GmNotification("投递结束")
this.operationPanel.refreshShow("投递停止")
this.changeBatchPublishState(false);
return;
}
if (!BossDOMApi.nextPage()) {
logger.info("投递结束,没有下一页")
TampermonkeyApi.GmNotification("投递结束,没有下一页")
this.operationPanel.refreshShow("投递结束,没有下一页")