mirror of
https://github.com/chinnkarahoi/jd_scripts.git
synced 2024-06-05 19:32:47 +08:00
fix bug
This commit is contained in:
parent
5e782eca2d
commit
d67d8a6c17
@ -83,8 +83,8 @@ async function jdUnbind() {
|
|||||||
async function unsubscribeCards() {
|
async function unsubscribeCards() {
|
||||||
let count = 0
|
let count = 0
|
||||||
for (let item of $.cardList) {
|
for (let item of $.cardList) {
|
||||||
if (count === cardPageSize){
|
if (count === cardPageSize * 1){
|
||||||
console.log(`已达到设定数量`)
|
console.log(`已达到设定数量:${cardPageSize * 1}`)
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
if (stopCards && (item.brandName && stopCards.includes(item.brandName))) {
|
if (stopCards && (item.brandName && stopCards.includes(item.brandName))) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user