master
xy 2 years ago
parent c5f0bf3218
commit aa8c3e0a09

@ -46,7 +46,7 @@
:key="$route.query.result ? index : item"
>
<span>{{
isEnd ? config.numbers_list[Math.floor(Math.random() * 36)] : item
item
}}</span>
</div>
@ -217,9 +217,11 @@ export default {
return Array.from(set).sort(() => Math.random() - 0.5);
}
return this.config.numbers_list
let temp = this.config.numbers_list
.sort(() => Math.random() - 0.5)
.slice(0, 36);
.slice(0, 36)
console.log(temp)
return temp;
} else {
return [];
}

Loading…
Cancel
Save