mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 13:17:32 +00:00
fix: lastfivestar
This commit is contained in:
parent
82bcf828b9
commit
23e34ef89d
1 changed files with 3 additions and 0 deletions
|
|
@ -204,6 +204,9 @@ export async function anaylizeGachaLog(uid) {
|
||||||
}
|
}
|
||||||
if (i === data.length - 1 && list.length > 0) {
|
if (i === data.length - 1 && list.length > 0) {
|
||||||
list[list.length - 1]['totalCount'] = i - preIndex;
|
list[list.length - 1]['totalCount'] = i - preIndex;
|
||||||
|
if (lastFive === null) {
|
||||||
|
lastFive = data.length;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue