生产模式不打开开发者工具

master
yezhichao 2021-12-02 13:28:56 +08:00
parent a7be18371c
commit 860aebbe4e
1 changed files with 0 additions and 1 deletions

View File

@ -19,7 +19,6 @@ function createWindow(page: string, display: any) {
win.webContents.openDevTools() win.webContents.openDevTools()
} else { } else {
win.loadFile(`dist/render/${page}.html`) win.loadFile(`dist/render/${page}.html`)
win.webContents.openDevTools()
} }
} }