fix: bugs

This commit is contained in:
qier222 2021-01-06 23:58:14 +08:00
parent 6366886fe8
commit d4be289946
5 changed files with 20 additions and 9 deletions

View file

@ -117,7 +117,7 @@ export default {
});
toplistOfArtists(2).then((data) => {
let indexs = [];
while (indexs.length < 5) {
while (indexs.length < 6) {
let tmp = ~~(Math.random() * 100);
if (!indexs.includes(tmp)) indexs.push(tmp);
}