mirror of
https://github.com/ikun0014/lx-music-mobile.git
synced 2025-05-23 22:37:41 +08:00
修复数据存储管理在移除数据时可能出现移除失败的问题
This commit is contained in:
parent
f818fb4f8d
commit
17cc149bf0
@ -3,4 +3,4 @@
|
||||
|
||||
### 修复
|
||||
|
||||
- 修复播放详情页歌词滚动问题(#518)
|
||||
- 修复数据存储管理在移除数据时可能出现移除失败的问题
|
||||
|
@ -180,7 +180,7 @@ export const removeDataMultiple = async(keys: string[]) => {
|
||||
if (partKeyPrefixRxp.test(value)) {
|
||||
allKeys.push(...value.replace(partKeyPrefixRxp, '').split(keySplit))
|
||||
} else if (partKeyArrPrefixRxp.test(value)) {
|
||||
allKeys.push(...JSON.parse(value.replace(partKeyPrefixRxp, '')) as string[])
|
||||
allKeys.push(...JSON.parse(value.replace(partKeyArrPrefixRxp, '')) as string[])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user