This commit is contained in:
Shiny Nematoda 2023-01-24 06:53:21 +00:00 committed by vrifox
parent 06295ec49c
commit 000c4e9681
No known key found for this signature in database
GPG key ID: D40098E5B60B2197

View file

@ -127,7 +127,7 @@ export const useData = defineStore('data', () => {
} }
function nextTrack() { function nextTrack() {
const now = state.urls.findIndex(s => s.url === state.url); const i = state.urls.findIndex(s => s.url === state.url);
if (state.urls[i + 1]) getSong(state.urls[i + 1].url); if (state.urls[i + 1]) getSong(state.urls[i + 1].url);
else if (player.state.loop == 1) { else if (player.state.loop == 1) {