Skip to content

Commit ad169fc

Browse files
committed
修昨日志异常
1 parent 9877502 commit ad169fc

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

SAEA.BaseLibs/WebApi/Http/HttpServer.cs

+4
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ private void _serverSocket_OnDisconnected(string ID, System.Exception ex)
9191
{
9292
if (ex != null)
9393
{
94+
if (ex.Message.IndexOf("远程连接已关闭", StringComparison.Ordinal) == 0)
95+
{
96+
return;
97+
}
9498
LogHelper.WriteError("_serverSocket_OnDisconnected 断开连接", ex);
9599
}
96100

SAEA.Redis.WebManager/Html/IndexContent.html

+8-5
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,19 @@
1818
<div class="layui-card">
1919
<div class="layui-card-header">项目说明</div>
2020
<div class="layui-card-body">
21+
<p id="ie-alert" class="layui-elem-quote" style="display: none;">请使用Chrome或Firefox来获取最佳体验!</p>
2122
<p class="layui-elem-quote">
22-
WebRedisManager是使用的SAEA.RedisSocket、SAEA.WebApi等实现Redis的简便管理功能的Web工具~<br />
23-
同时它也是一个开源的项目,<a href="https://github.com/yswenli/WebRedisManager" target="_blank">https://github.com/yswenli/WebRedisManager</a><br />
24-
希望有更多有兴趣的coder们加入使它更加完善!<a href="mailto:[email protected]" target="_blank">Email:[email protected]</a>
23+
WebRedisManager是使用的SAEA.RedisSocket、SAEA.WebApi等实现Redis的可视化、简便管理功能的工具~<br />
24+
同时它也是一个开源的项目,详情点击:<a href="https://github.com/yswenli/WebRedisManager" target="_blank">https://github.com/yswenli/WebRedisManager</a><br />
2525
</p>
2626
</div>
2727
</div>
2828
</div>
2929
</div>
30-
<script src="Content/js/requestpamars.js"></script>
31-
<script src="Content/js/layui.js"></script>
30+
<script>
31+
if (window.navigator.userAgent.indexOf("MSIE") >= 1 || window.navigator.userAgent.indexOf("Trident") >= 1) {
32+
document.getElementById("ie-alert").style.display = "block";
33+
}
34+
</script>
3235
</body>
3336
</html>

0 commit comments

Comments
 (0)