修复迷你模式状态同步问题
parent
61c1706058
commit
47c8a1f9f3
|
@ -35,9 +35,7 @@ Anot({
|
||||||
mounted() {
|
mounted() {
|
||||||
WIN.on('mini-init', song => {
|
WIN.on('mini-init', song => {
|
||||||
this.curr = song
|
this.curr = song
|
||||||
if (song.id) {
|
this.isPlaying = !!song.id
|
||||||
this.isPlaying = true
|
|
||||||
}
|
|
||||||
this.playMode = Anot.ls('play-mode') >>> 0
|
this.playMode = Anot.ls('play-mode') >>> 0
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
Reference in New Issue