Commit eb96c3b2 authored by 姜春辉's avatar 姜春辉

修正宿舍数据首次加载BUG

parent 486355d8
......@@ -51,5 +51,5 @@ using System.Windows;
// 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号
// 方法是按如下所示使用“*”: :
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.1.5")]
[assembly: AssemblyFileVersion("1.0.1.5")]
[assembly: AssemblyVersion("1.0.1.6")]
[assembly: AssemblyFileVersion("1.0.1.6")]
using GalaSoft.MvvmLight.Command;
using GalaSoft.MvvmLight.Threading;
using GS.Terminal.DashBoard.Interface;
using Newtonsoft.Json;
using System;
......@@ -65,8 +66,12 @@ namespace SchoolSituation
old.Floors = new ObservableCollection<ViewSuSheState>(item.Floors.Select(ss => (ViewSuSheState)ss).ToList());
}
else
{
DispatcherHelper.CheckBeginInvokeOnUI(() =>
{
DormList.Add((ViewSuSheBuild)item);
});
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment