修复正在播放“稍后播放”的歌曲时,对“稍后播放”前播放的列表进行添加、删除操作会导致切歌的问题
parent
fe76d103f0
commit
47d0a4a343
|
@ -16,3 +16,4 @@
|
||||||
|
|
||||||
- 修复备份与恢复功能在恢复数据时某些设置不立即生效的问题
|
- 修复备份与恢复功能在恢复数据时某些设置不立即生效的问题
|
||||||
- 修正设置页“搜索设置”部分内容的缩进显示问题
|
- 修正设置页“搜索设置”部分内容的缩进显示问题
|
||||||
|
- 修复正在播放“稍后播放”的歌曲时,对“稍后播放”前播放的列表进行添加、删除操作会导致切歌的问题
|
||||||
|
|
|
@ -279,6 +279,7 @@ export default {
|
||||||
this.setLyric()
|
this.setLyric()
|
||||||
},
|
},
|
||||||
async list(n, o) {
|
async list(n, o) {
|
||||||
|
if (this.playInfo.isTempPlay) return
|
||||||
if (n === o && this.musicInfo.songmid) {
|
if (n === o && this.musicInfo.songmid) {
|
||||||
let index = this.listId == 'download'
|
let index = this.listId == 'download'
|
||||||
? n.findIndex(s => s.musicInfo.songmid === this.musicInfo.songmid)
|
? n.findIndex(s => s.musicInfo.songmid === this.musicInfo.songmid)
|
||||||
|
|
|
@ -23,7 +23,7 @@ import { rendererSend, NAMES } from '../common/ipc'
|
||||||
sync(store, router)
|
sync(store, router)
|
||||||
|
|
||||||
Vue.config.productionTip = false
|
Vue.config.productionTip = false
|
||||||
|
Vue.config.devtools = process.env.NODE_ENV === 'development'
|
||||||
|
|
||||||
getSetting().then(({ setting, version }) => {
|
getSetting().then(({ setting, version }) => {
|
||||||
// Set language automatically
|
// Set language automatically
|
||||||
|
@ -56,5 +56,7 @@ getSetting().then(({ setting, version }) => {
|
||||||
el: '#root',
|
el: '#root',
|
||||||
render: h => h(App),
|
render: h => h(App),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// window.__VUE_DEVTOOLS_GLOBAL_HOOK__.Vue = app.constructor
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue