替换程序中所有同步API的调用

This commit is contained in:
lyswhut
2020-04-26 22:08:23 +08:00
parent cdbedf3d64
commit 9ff5147418
9 changed files with 73 additions and 43 deletions
+3 -1
View File
@@ -74,7 +74,9 @@ export default ({
debugDownload && console.log('Downloading: ', url)
dl.start()
dl.start().catch(err => {
onError(err)
})
return dl
}