UPDATE: 优化客户端桌面窗口内容自适应
This commit is contained in:
@@ -25,10 +25,10 @@ module.exports = (appInfo) => {
|
||||
*/
|
||||
config.windowsOption = {
|
||||
title: '自动检测平台',
|
||||
width: 1600,
|
||||
height: 950,
|
||||
minWidth: 1600,
|
||||
minHeight: 950,
|
||||
width: 1920 /1.5,
|
||||
height: 1080 /1.2,
|
||||
minWidth: 1920 /1.5,
|
||||
minHeight: 1080 /1.2,
|
||||
webPreferences: {
|
||||
//webSecurity: false,
|
||||
contextIsolation: false, // false -> 可在渲染进程中使用electron的api,true->需要bridge.js(contextBridge)
|
||||
|
||||
@@ -9,7 +9,7 @@ module.exports = (appInfo) => {
|
||||
/**
|
||||
* 开发者工具
|
||||
*/
|
||||
config.openDevTools = true;
|
||||
config.openDevTools = false;
|
||||
|
||||
/**
|
||||
* 应用程序顶部菜单
|
||||
|
||||
Reference in New Issue
Block a user