修复酷狗源的某些歌曲没有专辑字段导致的列表加载失败问题

pull/392/head
lyswhut 2020-12-06 21:17:18 +08:00
parent a6989a2aba
commit a98c0516a3
2 changed files with 2 additions and 1 deletions

View File

@ -3,3 +3,4 @@
- 修复MAC平台上下载歌曲封面嵌入无法显示的问题 - 修复MAC平台上下载歌曲封面嵌入无法显示的问题
- 修复MAC平台首次运行软件最小化、关闭控制按钮默认在右边的问题 - 修复MAC平台首次运行软件最小化、关闭控制按钮默认在右边的问题
- 修复酷狗源的某些歌曲没有专辑字段导致的列表加载失败问题

View File

@ -80,7 +80,7 @@ const encodeNames = {
''': "'", ''': "'",
''': "'", ''': "'",
} }
export const decodeName = str => str.replace(/(?:&|<|>|"|'|')/gm, s => encodeNames[s]) export const decodeName = (str = '') => str.replace(/(?:&|<|>|"|'|')/gm, s => encodeNames[s])
const easeInOutQuad = (t, b, c, d) => { const easeInOutQuad = (t, b, c, d) => {
t /= d / 2 t /= d / 2