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(`检测评论列表`);