更新依赖&版本号(2.6.0-beta.5)

This commit is contained in:
lyswhut
2023-12-12 14:00:22 +08:00
parent e9539b5c5c
commit 050b641d79
21 changed files with 335 additions and 334 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import syncSourceList from '@renderer/store/list/syncSourceList'
const handleSyncSourceList = async(waitUpdateLists: LX.List.UserListInfo[]) => {
if (!waitUpdateLists.length) return
const targetListInfo = waitUpdateLists.shift() as LX.List.UserListInfo
const targetListInfo = waitUpdateLists.shift()!
// console.log(targetListInfo)
try {
await syncSourceList(targetListInfo)
@@ -20,7 +20,7 @@ const loadBuffer = async(name: string) => new Promise<AudioBuffer>((resolve, rej
// eslint-disable-next-line @typescript-eslint/no-var-requires
const path = require('@renderer/assets/medias/filters/' + name) as string
if (cache.has(path)) {
resolve(cache.get(path) as AudioBuffer)
resolve(cache.get(path)!)
return
}
// Load buffer asynchronously