更新依赖&版本号(2.6.0-beta.5)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user