zhuangyunsheng 6 月之前
父节点
当前提交
ba0b83b7a0
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      src/main/index.js

+ 0 - 3
src/main/index.js

@@ -28,9 +28,6 @@ function createWindow() {
         shell.openExternal(details.url)
         return { action: "deny" }
     })
-    mainWindow.webContents.on('did-finish-load', () => {
-        mainWindow.webContents.openDevTools();
-    });
 
     // HMR for renderer base on electron-vite cli.
     // Load the remote URL for development or the local html file for production.