umbrella22

同步默认,防止后续升级故障

...@@ -38,6 +38,7 @@ class MainInit { ...@@ -38,6 +38,7 @@ class MainInit {
38 frame: config.IsUseSysTitle, 38 frame: config.IsUseSysTitle,
39 titleBarStyle: 'hidden', 39 titleBarStyle: 'hidden',
40 webPreferences: { 40 webPreferences: {
41 + contextIsolation:false,
41 nodeIntegration: true, 42 nodeIntegration: true,
42 webSecurity: false, 43 webSecurity: false,
43 // 如果是开发模式可以使用devTools 44 // 如果是开发模式可以使用devTools
......