diff --git a/SlnMesnac.WPF/ViewModel/IndexViewModel.cs b/SlnMesnac.WPF/ViewModel/IndexViewModel.cs index 77b5353..660f6d0 100644 --- a/SlnMesnac.WPF/ViewModel/IndexViewModel.cs +++ b/SlnMesnac.WPF/ViewModel/IndexViewModel.cs @@ -123,7 +123,9 @@ namespace SlnMesnac.WPF.ViewModel List list = await logoIdentifyService.GetAllRecordAsync(); if (list == null || list.Count == 0) return; - await App.Current.Dispatcher.BeginInvoke((Action)(() => + LogoIdentifyDataGrid.Clear(); + + await App.Current.Dispatcher.BeginInvoke((Action)(() => { LogoIdentifyDataGrid.Clear(); list = list.OrderByDescending(x=>x.RecordTime).ToList();