fix loading stuck
This commit is contained in:
parent
7ca79d024d
commit
135793850a
2 changed files with 3 additions and 1 deletions
|
@ -826,9 +826,11 @@ const app = new Vue({
|
||||||
a = []
|
a = []
|
||||||
} finally {
|
} finally {
|
||||||
this.showingPlaylist = a
|
this.showingPlaylist = a
|
||||||
|
this.playlists.loadingState = 1
|
||||||
}
|
}
|
||||||
} finally {
|
} finally {
|
||||||
this.showingPlaylist = a
|
this.showingPlaylist = a
|
||||||
|
this.playlists.loadingState = 1
|
||||||
}
|
}
|
||||||
;
|
;
|
||||||
},
|
},
|
||||||
|
|
|
@ -111,7 +111,7 @@
|
||||||
methods: {
|
methods: {
|
||||||
getActiveLyric() {
|
getActiveLyric() {
|
||||||
// console.log(this.time);
|
// console.log(this.time);
|
||||||
const delayfix = 0.35
|
const delayfix = 0.1
|
||||||
const prevLine = app.currentLyricsLine;
|
const prevLine = app.currentLyricsLine;
|
||||||
for (var i = 0; i < this.lyrics.length; i++) {
|
for (var i = 0; i < this.lyrics.length; i++) {
|
||||||
if (this.time + delayfix >= this.lyrics[i].startTime && this.time + delayfix <= app.lyrics[i].endTime) {
|
if (this.time + delayfix >= this.lyrics[i].startTime && this.time + delayfix <= app.lyrics[i].endTime) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue