fix 上一个问题
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user