禁用拼写检查

This commit is contained in:
lyswhut
2021-12-27 11:19:11 +08:00
parent b99169cc3b
commit 30787a372e
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -118,6 +118,7 @@ function createWindow() {
contextIsolation: false, contextIsolation: false,
webSecurity: !isDev, webSecurity: !isDev,
nodeIntegration: true, nodeIntegration: true,
spellcheck: false, // 禁用拼写检查器
}, },
}) })
+1
View File
@@ -116,6 +116,7 @@ const createWindow = () => {
contextIsolation: false, contextIsolation: false,
webSecurity: !global.isDev, webSecurity: !global.isDev,
nodeIntegration: true, nodeIntegration: true,
spellcheck: false, // 禁用拼写检查器
}, },
}) })