diff --git a/WebTest/MainWindow.xaml.cs b/WebTest/MainWindow.xaml.cs index 12ba1fc..c9ac554 100644 --- a/WebTest/MainWindow.xaml.cs +++ b/WebTest/MainWindow.xaml.cs @@ -143,12 +143,12 @@ private string registerName = "webContext"; //globalContext.User.ShopList = shopList; - IList departmentList = null; + IList departmentList = allDepartmentList; //var response = mdsApiService.GetShopDetailList(); //if (!response.Success) // throw new Exception(response.Msg); - departmentList = allDepartmentList?.Where(d => d.Name.Contains("供应链")).ToList(); + //departmentList = allDepartmentList?.Where(d => d.Name.Contains("供应链")).ToList(); if (departmentList.Count == 0) throw new Exception("缺少有效的部门数据");