This repository has been archived on 2023-08-30. You can view files and clone it, but cannot push or open issues/pull-requests.
appcat
/
sonist
Archived
1
0
Fork 0

修复迷你模式状态同步问题

2.x
宇天 2019-01-27 17:27:03 +08:00
parent 61c1706058
commit 47c8a1f9f3
1 changed files with 1 additions and 3 deletions

View File

@ -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
}) })
}, },