diff --git a/src/admin/Bootstrap.Admin/wwwroot/js/healths.js b/src/admin/Bootstrap.Admin/wwwroot/js/healths.js
index c65bce34..b009f7e3 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,10 @@
{
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, "
");
+ value = value.replace(/\n/g, "
");
+ }
return value;
}
}