UPDATE: 优化客户端桌面窗口内容自适应

This commit is contained in:
贾同学
2025-10-10 15:29:54 +08:00
parent b319a89501
commit 666fb22c49
6 changed files with 1611 additions and 1593 deletions

View File

@@ -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的apitrue->需要bridge.js(contextBridge)

View File

@@ -9,7 +9,7 @@ module.exports = (appInfo) => {
/**
* 开发者工具
*/
config.openDevTools = true;
config.openDevTools = false;
/**
* 应用程序顶部菜单