1
0
Code Issues Pull Requests Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-10-19 13:37:06 +08:00
parent c17c3ae5a1
commit 8451e7a849
3 changed files with 85 additions and 33 deletions

View File

@@ -29,6 +29,7 @@ async function fetchAll({ args = {} }) {
var songIds = await dbUtils.query(sql, []);
songIds = songIds.map(item => item.song_id);
songIds = Array.from(new Set(songIds)); // 去重
// 0 - 100, 200 - 399, 400 - ..., ... - songIds.length-1
// 0 1 2 count-1