mirror of
https://github.com/shufflewzc/faker2.git
synced 2025-04-23 02:48:44 +08:00
Update jd_coupon.js
This commit is contained in:
parent
f66e776476
commit
a0ec0f5b24
@ -54,7 +54,7 @@ if ($.isNode()) {
|
|||||||
// cookiesArr = cookiesArr.sort(function() {
|
// cookiesArr = cookiesArr.sort(function() {
|
||||||
// return .5 - Math.random();
|
// return .5 - Math.random();
|
||||||
// });
|
// });
|
||||||
let ckNum = cookiesArr.length > 10 ? 10 : cookiesArr.length;
|
let ckNum = cookiesArr.length > 5 ? 5 : cookiesArr.length;
|
||||||
// console.log(ckNum)
|
// console.log(ckNum)
|
||||||
for (let i = 0; i < ckNum; i++) {
|
for (let i = 0; i < ckNum; i++) {
|
||||||
if (cookiesArr[i]) {
|
if (cookiesArr[i]) {
|
||||||
|
Loading…
Reference in New Issue
Block a user