diff --git a/HKCardOUT/ViewModels/RootViewModel.cs b/HKCardOUT/ViewModels/RootViewModel.cs index 1c14673..eb138eb 100644 --- a/HKCardOUT/ViewModels/RootViewModel.cs +++ b/HKCardOUT/ViewModels/RootViewModel.cs @@ -52,7 +52,10 @@ namespace HKCardOUT.ViewModels Stalls = x.Name }).ToList(); if (Init != null) + { Ad = new ObservableCollection(Init); + AdOpen(); + } } #region 属性 @@ -148,6 +151,7 @@ namespace HKCardOUT.ViewModels win.Left = rectangle[i].Left; win.Show(); } + } #endregion