fix 上一个问题

This commit is contained in:
2021-05-26 13:38:40 +08:00
parent 871e96600c
commit 2815bf8407
2 changed files with 7 additions and 7 deletions

View File

@@ -57,8 +57,8 @@ namespace Ewide.Core.Service
}).ToListAsync(); // .OrderByDescending(u => u.Active) // 将激活的放到第一个
//// 默认激活第一个应用
//if (appList != null && appList.Count > 0 && appList[0].Active != YesOrNot.Y.ToString())
// appList[0].Active = YesOrNot.Y.ToString();
if (appList != null && appList.Count > 0 && !appList[0].Active)
appList[0].Active = true;
return appList;
}