正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
| ... | @@ -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 | ... | ... |
-
请 注册 或 登录 后发表评论