feat(#I12X7W): 增加 dotnet --info 运行时检查

#Comment
comment #I12X7W

#Issue
link #I12X7W
This commit is contained in:
Argo Zhang 2019-10-01 14:54:06 +08:00
parent c464ffe754
commit c2a0a3cad5
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
2 changed files with 3 additions and 2 deletions

View File

@ -12,7 +12,7 @@
<ItemGroup>
<PackageReference Include="Bootstrap.Security.DataAccess" Version="2.2.21" />
<PackageReference Include="Bootstrap.Security.Mvc" Version="3.0.0" />
<PackageReference Include="Bootstrap.Security.Mvc" Version="3.0.1-beta4" />
<PackageReference Include="Longbow.Configuration" Version="2.2.7" />
<PackageReference Include="Longbow.Logging" Version="3.0.0" />
<PackageReference Include="Longbow.Tasks" Version="2.2.24" />

View File

@ -4,7 +4,7 @@
return healthStatus[value];
};
var cate = { "db": "数据库", "file": "组件文件", "mem": "内存", "Gitee": "Gitee 接口", "gc": "垃圾回收器" };
var cate = { "db": "数据库", "file": "组件文件", "mem": "内存", "Gitee": "Gitee 接口", "gc": "垃圾回收器", "dotnet-runtime": "运行时" };
var CategoryFormatter = function (value) {
return cate[value];
};
@ -70,6 +70,7 @@
{
title: "值", field: "value", formatter: function (value, row) {
if (row.name === "Exception") value = $.format("<span class='text-danger'>{0}</span>", value);
if (row.name === "dotnet --info") value = value.replace(/\r\n/g, "<br>");
return value;
}
}