Fixed: #140 || drag the image to app will be opened by Chrome & gallery close button

This commit is contained in:
PiEgg
2018-11-25 23:53:26 +08:00
parent 8a8b97a937
commit 9c12fb6ede
6 changed files with 20 additions and 3 deletions

View File

@@ -137,6 +137,7 @@ const uploader = (img, type, webContents) => {
}
})
picgo.on('failed', ctx => {
console.log(ctx)
resolve(false)
})
})