修复了添加设备不更新的问题和一些已知的问题
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user