修复了添加设备不更新的问题和一些已知的问题

This commit is contained in:
2025-06-30 22:03:49 +08:00
parent a1de03a94e
commit 5e0c530187
9 changed files with 171 additions and 136 deletions

View File

@@ -1,6 +1,9 @@
using System.Windows;
using System.Windows.Controls;
using iNKORE.UI.WPF.Modern.Controls;
using Microsoft.Extensions.DependencyInjection;
using PMSWPF.Services;
using PMSWPF.ViewModels;
namespace PMSWPF.Views;
@@ -9,6 +12,7 @@ public partial class DevicesView : UserControl
public DevicesView()
{
InitializeComponent();
DataContext=App.Current.Services.GetRequiredService<DevicesViewModel>();
}
private void BasicGridView_ItemClick(object sender, ItemClickEventArgs e)