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

修正宿舍数据首次加载BUG

parent 486355d8
...@@ -51,5 +51,5 @@ using System.Windows; ...@@ -51,5 +51,5 @@ using System.Windows;
// 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号 // 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号
// 方法是按如下所示使用“*”: : // 方法是按如下所示使用“*”: :
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.1.5")] [assembly: AssemblyVersion("1.0.1.6")]
[assembly: AssemblyFileVersion("1.0.1.5")] [assembly: AssemblyFileVersion("1.0.1.6")]
using GalaSoft.MvvmLight.Command; using GalaSoft.MvvmLight.Command;
using GalaSoft.MvvmLight.Threading;
using GS.Terminal.DashBoard.Interface; using GS.Terminal.DashBoard.Interface;
using Newtonsoft.Json; using Newtonsoft.Json;
using System; using System;
...@@ -66,7 +67,11 @@ namespace SchoolSituation ...@@ -66,7 +67,11 @@ namespace SchoolSituation
} }
else else
{ {
DormList.Add((ViewSuSheBuild)item); 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