mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/lyswhut/lx-music-desktop.git
synced 2026-09-20 08:04:00 +08:00
修复某些情况下切歌会导致错误的状态提示内容
This commit is contained in:
@@ -98,10 +98,11 @@ export default ({ setting }) => {
|
||||
type,
|
||||
isRefresh,
|
||||
onToggleSource() {
|
||||
if (targetSong !== musicInfoItem.value || isPlay.value || type != getPlayType(setting.value.player.highQuality, musicInfoItem.value)) return
|
||||
setAllStatus('Try toggle source...')
|
||||
},
|
||||
}).then(url => {
|
||||
if (targetSong !== musicInfoItem.value || isPlay.value) return
|
||||
if (targetSong !== musicInfoItem.value || isPlay.value || type != getPlayType(setting.value.player.highQuality, musicInfoItem.value)) return
|
||||
setMusicInfo({ url })
|
||||
setResource(url)
|
||||
}).catch(err => {
|
||||
|
||||
Reference in New Issue
Block a user