feat.修复新添加设备添加变量OpcServer报错问题,修改初始化菜单的内容

This commit is contained in:
2025-10-04 00:42:59 +08:00
parent 24e4259e31
commit 5eae862d5f
6 changed files with 43 additions and 47 deletions

View File

@@ -108,7 +108,7 @@ public partial class DevicesViewModel : ViewModelBase, INavigatable
{
Header = device.Name,
Icon = SegoeFluentIcons.Devices2.Glyph,
TargetViewKey = "DeviceDetailView"
TargetViewKey = nameof(DeviceDetailViewModel),
};
if (device.IsAddDefVarTable)