refactor(#I12X7W): 支持 linux 下运行时检测结果显示
#Comment comment #I12X7W #Issue link #I12X7W
This commit is contained in:
parent
c2a0a3cad5
commit
c2a127707b
|
@ -70,7 +70,10 @@
|
|||
{
|
||||
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>");
|
||||
if (row.name === "dotnet --info") {
|
||||
value = value.replace(/\r\n/g, "<br>");
|
||||
value = value.replace(/\n/g, "<br>");
|
||||
}
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue