doc: 格式化代码

This commit is contained in:
Argo-Tianyi 2022-01-11 10:09:36 +08:00
parent 76fe5d7fcd
commit bb6aa0723e
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ class DictService : BaseDatabase, IDict
var dicts = GetAll();
// appId 为空时读取前台列表取第一个应用作为默认应用
appId ??= GetApps().FirstOrDefault(d => d.Key != "BA").Key ?? AppId;
appId ??= GetApps().FirstOrDefault(d => d.Key != AppId).Key ?? AppId;
url = dicts.FirstOrDefault(d => d.Category == "应用首页" && d.Name.Equals(appId, StringComparison.OrdinalIgnoreCase) && d.Define == EnumDictDefine.System)?.Code;
return url;
}