This commit is contained in:
Shiny Nematoda 2023-01-24 06:53:21 +00:00
parent cb894ea184
commit 9ea60325f1

View file

@ -127,7 +127,7 @@ export const useData = defineStore('data', () => {
}
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);
else if (player.state.loop == 1) {