二期:预约开发

This commit is contained in:
朱浩 2024-08-09 17:42:19 +08:00
parent c29a3d7a77
commit 7cf3487bfb
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "aix-win",
"version": "1.0.5",
"version": "1.0.6",
"description": "An Electron application with Vue",
"main": "./out/main/index.js",
"author": "example.com",

View File

@ -209,7 +209,7 @@ export default {
ipcRenderer.on('download-file-default-prog' + fileName, this.progDownFile)
ipcRenderer.once('download-file-default' + fileName, (e, isSuccess) => {
if (isSuccess === true) {
resolve(appRootFilePath + fileName)
resolve(fileName)
} else {
ElMessage({
type: 'info',
@ -218,7 +218,7 @@ export default {
}
})
} else {
resolve(appRootFilePath + fileName)
resolve(fileName)
}
})
})