feat: 音乐管理功能优化

This commit is contained in:
log1997
2025-12-04 15:27:19 +08:00
parent cdd4972870
commit 6546a17427
9 changed files with 674 additions and 327 deletions

View File

@@ -4,10 +4,19 @@ const imageDbStore = localforage.createInstance({
name: 'imgStore',
})
const audioDbStore = localforage.createInstance({
name: 'audioStore',
})
async function clearImageDbStore() {
await imageDbStore.clear()
}
async function clearAudioDbStore() {
await audioDbStore.clear()
}
export function clearAllDbStore() {
clearImageDbStore()
clearAudioDbStore()
}