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

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

45 lines
1.8 KiB
Plaintext

// Copyright (c) 2005 DMTF. All rights reserved.
// <change cr="SysDevCR00722.000" type ="change">Update of
// descriptions based on Tech Edit review.</
// <change cr="ArchCR00066.004" type="add">Add UmlPackagePath
// qualifier values to CIM Schema.</change>
// ==================================================================
// CIM_RemotePort
// ==================================================================
[Version ( "2.10.0" ),
UMLPackagePath ( "CIM::Core::Service" ),
Description (
"RemotePort adds port information to the access data (such as "
"IP Address) that is specified in and inherited from "
"RemoteServiceAccessPoint. For example, using the additional "
"properties in this class, you could indicate that UDP Port 123 "
"is accessed at IP Address xyz. The IP Address would be "
"specified in the inherited AccessInfo property, while the UDP "
"Port number would be specified in the PortInfo property of "
"this class." )]
class CIM_RemotePort : CIM_RemoteServiceAccessPoint {
[Description (
"Port information that might further specify the remote "
"access information." ),
ModelCorrespondence { "CIM_RemotePort.PortProtocol" }]
string PortInfo;
[Description (
"An enumerated integer that describes the protocol of the "
"port that is addressed by PortInformation." ),
ValueMap { "1", "2", "3", "32768..65535" },
Values { "Other", "TCP", "UDP", "Vendor Specific" },
ModelCorrespondence {
"CIM_RemotePort.OtherProtocolDescription" }]
uint16 PortProtocol;
[Description (
"Describes the protocol when the property PortProtocol is "
"set to 1 (Other)." ),
ModelCorrespondence { "CIM_RemotePort.PortProtocol" }]
string OtherProtocolDescription;
};