From d67d8a6c17991a4fccbc2269d23298e2ae0f09ce Mon Sep 17 00:00:00 2001 From: lxk0301 <778732665@qq.com> Date: Tue, 22 Dec 2020 17:33:40 +0800 Subject: [PATCH] fix bug --- jd_unbind.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jd_unbind.js b/jd_unbind.js index fc7046bd..34a7828c 100644 --- a/jd_unbind.js +++ b/jd_unbind.js @@ -83,8 +83,8 @@ async function jdUnbind() { async function unsubscribeCards() { let count = 0 for (let item of $.cardList) { - if (count === cardPageSize){ - console.log(`已达到设定数量`) + if (count === cardPageSize * 1){ + console.log(`已达到设定数量:${cardPageSize * 1}`) break } if (stopCards && (item.brandName && stopCards.includes(item.brandName))) {