fix lastItem to let

This commit is contained in:
vapormusic 2021-12-24 15:11:17 +07:00 committed by BrandonPlank
parent 519440b549
commit 47a19dae94

View file

@ -340,9 +340,9 @@ const app = new Vue({
// load last played track // load last played track
try { try {
lastItem = window.localStorage.getItem("currentTrack") let lastItem = window.localStorage.getItem("currentTrack")
time = window.localStorage.getItem("currentTime") let time = window.localStorage.getItem("currentTime")
queue = window.localStorage.getItem("currentQueue") let queue = window.localStorage.getItem("currentQueue")
if (lastItem != null) { if (lastItem != null) {
lastItem = JSON.parse(lastItem) lastItem = JSON.parse(lastItem)
var kind = lastItem.attributes.playParams.kind; var kind = lastItem.attributes.playParams.kind;
@ -372,7 +372,7 @@ const app = new Vue({
}) })
})},1000) })},1500)
} }