修复备份与恢复的列表导入列表信息设置逻辑问题与潜在问题
parent
84e52f5525
commit
a43e127dd0
|
@ -6,3 +6,4 @@
|
|||
- 就放桌面歌词在启用卡拉OK歌词后字体边缘可能被截断的问题
|
||||
- 修复桌面歌词启用歌词缩放后的阴影显示问题
|
||||
- 修复Linux armv7l系统(如树莓派)下无法启动的问题(与修复Linux arm64的方法一样采用内置预编译模块的方式修复)
|
||||
- 修复备份与恢复的列表导入列表信息设置逻辑问题与潜在导入问题
|
||||
|
|
|
@ -51,6 +51,7 @@ export default () => {
|
|||
break
|
||||
case 'playListPart_v2':
|
||||
listData = configData.data
|
||||
listData.list = filterMusicList(listData.list).map(m => fixNewMusicInfoQuality(m))
|
||||
break
|
||||
default:
|
||||
showImportTip(configData.type)
|
||||
|
|
|
@ -79,9 +79,9 @@ export default {
|
|||
name: list.name,
|
||||
id: list.id,
|
||||
list: filterMusicList(list.list.map(m => toNewMusicInfo(m))),
|
||||
position: list.position,
|
||||
source: list.source,
|
||||
sourceListId: list.sourceListId,
|
||||
locationUpdateTime: list.locationUpdateTime ?? null,
|
||||
})
|
||||
}
|
||||
} catch (err) {
|
||||
|
@ -98,15 +98,15 @@ export default {
|
|||
try {
|
||||
const targetList = allLists.find(l => l.id == list.id)
|
||||
if (targetList) {
|
||||
targetList.list = list.list.map(m => fixNewMusicInfoQuality(m))
|
||||
targetList.list = filterMusicList(list.list).map(m => fixNewMusicInfoQuality(m))
|
||||
} else {
|
||||
allLists.push({
|
||||
name: list.name,
|
||||
id: list.id,
|
||||
list: list.list.map(m => fixNewMusicInfoQuality(m)),
|
||||
position: list.position,
|
||||
list: filterMusicList(list.list).map(m => fixNewMusicInfoQuality(m)),
|
||||
source: list.source,
|
||||
sourceListId: list.sourceListId,
|
||||
locationUpdateTime: list.locationUpdateTime ?? null,
|
||||
})
|
||||
}
|
||||
} catch (err) {
|
||||
|
|
Loading…
Reference in New Issue