BUG修复
This commit is contained in:
parent
5b05b6a94b
commit
e40acda6ad
|
@ -359,6 +359,11 @@ export default async function ({ app, shell, BrowserWindow, ipcMain }) {
|
|||
|
||||
//下载文件
|
||||
ipcMain.on('download-file-default', (e, { url, fileName }) => {
|
||||
console.log(url, fileName)
|
||||
if (!url) {
|
||||
e.reply('download-file-default' + fileName, false)
|
||||
return;
|
||||
}
|
||||
createFolder('selfFile')
|
||||
.then(async () => {
|
||||
const browserWindow = BrowserWindow.getFocusedWindow()
|
||||
|
|
Loading…
Reference in New Issue