diff --git a/src/admin/Bootstrap.Admin/Bootstrap.Admin.csproj b/src/admin/Bootstrap.Admin/Bootstrap.Admin.csproj index b7fd7374..90c96357 100644 --- a/src/admin/Bootstrap.Admin/Bootstrap.Admin.csproj +++ b/src/admin/Bootstrap.Admin/Bootstrap.Admin.csproj @@ -12,7 +12,7 @@ - + diff --git a/src/admin/Bootstrap.Admin/wwwroot/js/healths.js b/src/admin/Bootstrap.Admin/wwwroot/js/healths.js index c65bce34..2c2baa3f 100644 --- a/src/admin/Bootstrap.Admin/wwwroot/js/healths.js +++ b/src/admin/Bootstrap.Admin/wwwroot/js/healths.js @@ -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("{0}", value); + if (row.name === "dotnet --info") value = value.replace(/\r\n/g, "
"); return value; } }