lvfengfree b92e1119ae fix: 修复菜单为空问题 - 移除后端过滤home路由的错误逻辑
- 修复RouteService中错误过滤home路由的问题
- 后端现在正确返回所有用户有权限的路由
- 添加设备管理相关功能(列表、在线监控、电源管理、远程监控)
- 添加详细的修复文档和重启脚本
- 更新权限配置脚本

问题根源:后端代码中有逻辑会过滤掉home路由,导致前端收到空数组,无法生成菜单
解决方案:移除过滤home路由的逻辑,让后端返回所有有权限的路由
2026-03-01 09:50:19 +08:00

69 lines
2.3 KiB
Plaintext

// Copyright (c) 2007-2010, Intel Corporation. All rights reserved.
[Version ( "8.0.0" ),
Description (
"The IPS_ScreenSettingData class represents "
"Extended Displays Configuration settings for KVM "
"redirection service in the Intel(R) AMT." )]
class IPS_ScreenSettingData: CIM_SettingData {
[Description (
"The display with the start button. When working in "
"extended display mode, this display have (0,0) "
"coordinates as left-upper corner" ),
ValueMap { "0", "1", "2", "3", "4", "5..254", "255" },
Values { "NoDisplay", "PipeA", "PipeB","PipeC","PipeD", "Reserved", "Unknown" }]
uint8 PrimaryIndex;
[Description (
"The secondary display according to GFX driver "),
ValueMap { "0", "1", "2", "3", "4", "5..254", "255" },
Values { "NoDisplay", "PipeA", "PipeB","PipeC","PipeD", "Reserved", "Unknown" }]
uint8 SecondaryIndex;
[Description (
"The tertiary display according to GFX driver "),
ValueMap { "0", "1", "2", "3", "4", "5..254", "255" },
Values { "NoDisplay", "PipeA", "PipeB","PipeC","PipeD", "Reserved", "Unknown" }]
uint8 TertiaryIndex;
[Description (
"The quadrary display according to GFX driver "),
ValueMap { "0", "1", "2", "3", "4", "5..254", "255" },
Values { "NoDisplay", "PipeA", "PipeB","PipeC","PipeD", "Reserved", "Unknown" }]
uint8 QuadraryIndex;
[Description ( "Represent if screen[i] is present" )]
boolean IsActive[];
[Description ( "Upper left X coordinate of screen[i]. "
"Shall be set to 0 for primary display."
"Can be negative" )]
sint32 UpperLeftX[];
[Description ( "Upper left Y coordinate of screen[i]. "
"Shall be set to 0 for primary display."
"Can be negative" )]
sint32 UpperLeftY[];
[Description ( "X resolution of screen[i]" )]
uint32 ResolutionX[];
[Description ( "Y resolution of screen[i]" )]
uint32 ResolutionY[];
[Description (
"This API resets the extended display configuration settings" ),
ValueMap { "0", "1" },
Values { "PT_STATUS_SUCCESS", "PT_STATUS_INTERNAL_ERROR" }]
uint32 ResetToDefault();
};