From 68054b74b0a96ff14e1e6f474320b6a21101787a Mon Sep 17 00:00:00 2001 From: kim131 <1035828775@qq.com> Date: Mon, 28 Dec 2020 11:31:19 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=8F=96=E6=B6=88=E9=80=80?= =?UTF-8?q?=E5=87=BA=E5=BA=94=E7=94=A8=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/index.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/main/index.js b/src/main/index.js index 8d93c02..d4193ff 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -102,12 +102,6 @@ app.on('second-instance', (event, commandLine, workingDirectory) => { // code. You can also put them in separate files and require them here. // 监听必要的自定义事件 -/** - * 点击退出应用 - */ -ipcMain.handle('close-app', async (event, args) => { - mainWindow.destroy(); -}); /** * 项目中的文件上传 */