From e51d716f32694faa185542ac5e4f7aff110c5ba2 Mon Sep 17 00:00:00 2001 From: smallfawn <101914820+smallfawn@users.noreply.github.com> Date: Fri, 24 Nov 2023 09:37:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B9=BF=E6=B1=BD=E4=BC=A0=E7=A5=BA=EF=BC=9A?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=AF=84=E8=AE=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gacmotor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gacmotor.js b/gacmotor.js index 2517e4f..7aaeada 100644 --- a/gacmotor.js +++ b/gacmotor.js @@ -154,7 +154,7 @@ class UserInfo { if (process.env["gacmotorComment"] == "true") { console.log(`已设置评论功能`); - if (this.commentNotFinishedNum !== 0 && this.commentNotFinished >= 1) { + if (this.commentNotFinishedNum !== 0 && this.commentNotFinishedNum >= 1) { for (let postId of this.applatestlist) { await this._add(postId, this.titleList[0]) } @@ -163,7 +163,7 @@ class UserInfo { } if (process.env["gacmotorComment"] == "true") { - if (this.commentNotFinishedNum !== 0 && this.commentNotFinished >= 1) { + if (this.commentNotFinishedNum !== 0 && this.commentNotFinishedNum >= 1) { console.log(`等待15s`) await $.wait(15000) console.log(`检测评论列表`);