Skip to content

Commit

Permalink
修复数据存储管理在移除数据时可能出现移除失败的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
lyswhut committed Jun 1, 2024
1 parent f818fb4 commit 17cc149
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion publish/changeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

### 修复

- 修复播放详情页歌词滚动问题(#518
- 修复数据存储管理在移除数据时可能出现移除失败的问题
2 changes: 1 addition & 1 deletion src/plugins/storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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[])
}
}
}
Expand Down

0 comments on commit 17cc149

Please sign in to comment.