refactor: 数据库健康检查增加问题解决办法

This commit is contained in:
Argo Zhang 2020-02-25 23:13:34 +08:00
parent d2e22eb856
commit 045e663ca6
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
2 changed files with 7 additions and 2 deletions

View File

@ -102,7 +102,7 @@ namespace Bootstrap.Admin.HealthChecks
{
data.Add("Exception", error.Message);
if (error.Message.Contains("Could not load", StringComparison.OrdinalIgnoreCase)) data.Add("解决办法", "Nuget 引用相对应 dll");
if (error.Message.Contains("Could not load", StringComparison.OrdinalIgnoreCase)) data.Add("解决办法", "Nuget 引用相对应的数据库驱动 dll");
// UNDONE: Json 序列化循环引用导致异常 NET 5.0 修复此问题
// 目前使用 new Exception() 临时解决

View File

@ -18,6 +18,7 @@
<link href="../css/site-responsive.css" rel="stylesheet" asp-append-version="true" />
<style>
@media (min-width: 768px) {
.card-body .bootstrap-table tr td:nth-child(5),
.card-body .bootstrap-table tr th:nth-child(5),
.card-body .bootstrap-table tr td:last-child,
@ -30,6 +31,10 @@
word-break: keep-all;
white-space: nowrap;
}
td:not(:nth-child(3)) {
white-space: nowrap;
}
}
</style>
<!--[if lt IE 10 ]>
@ -57,7 +62,7 @@
</div>
<a id="pathBase" href="../" hidden></a>
<div class="modal fade" id="dialogNew" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
aria-hidden="true">
aria-hidden="true">
<div class="modal-dialog modal-dialog-centered modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">