mirror of
https://github.com/ikun0014/lx-music-mobile.git
synced 2025-07-03 23:42:10 +08:00
修复换源失败时的处理问题
This commit is contained in:
parent
448478b5b1
commit
c9cab468e7
@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
- 修复wy源搜索某些歌曲时第一页之后的歌曲无法加载的问题
|
- 修复wy源搜索某些歌曲时第一页之后的歌曲无法加载的问题
|
||||||
- 每次启动时过滤无效的歌曲
|
- 每次启动时过滤无效的歌曲
|
||||||
|
- 修复换源失败时的处理问题
|
||||||
|
|
||||||
### 变更
|
### 变更
|
||||||
|
|
||||||
|
@ -348,8 +348,9 @@ export const getOtherSource = ({ musicInfo, id }) => (dispatch, getState) => {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (getOtherSourcePromises.has(key)) getOtherSourcePromises.delete(key)
|
|
||||||
return otherSource
|
return otherSource
|
||||||
|
}).finally(() => {
|
||||||
|
if (getOtherSourcePromises.has(key)) getOtherSourcePromises.delete(key)
|
||||||
})
|
})
|
||||||
getOtherSourcePromises.set(key, promise)
|
getOtherSourcePromises.set(key, promise)
|
||||||
return promise
|
return promise
|
||||||
|
Loading…
x
Reference in New Issue
Block a user