Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
yswenli committed Dec 5, 2021
1 parent a5084f3 commit fd2acfe
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 19 deletions.
8 changes: 4 additions & 4 deletions SAEA.WebRedisManager/SAEA.WebRedisManager.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -258,13 +258,13 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="HtmlAgilityPack" Version="1.11.38" />
<PackageReference Include="HtmlAgilityPack" Version="1.11.39" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Hosting.Systemd" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Hosting.WindowsServices" Version="6.0.0" />
<PackageReference Include="SAEA.MVC" Version="7.0.0.1" />
<PackageReference Include="SAEA.RedisSocket" Version="7.0.0.1" />
<PackageReference Include="SAEA.WebSocket" Version="7.0.0.1" />
<PackageReference Include="SAEA.MVC" Version="7.0.0.2" />
<PackageReference Include="SAEA.RedisSocket" Version="7.0.0.2" />
<PackageReference Include="SAEA.WebSocket" Version="7.0.0.2" />
<PackageReference Include="System.Drawing.Common" Version="6.0.0" />
</ItemGroup>

Expand Down
3 changes: 1 addition & 2 deletions SAEA.WebRedisManager/wwwroot/Content/js/redis.data.item.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,7 @@ layui.use(['jquery', 'layer', 'form', 'laypage'], function () {
});

var totalHeight = $(parent.window.document).find("iframe").height();
var bodyMaxHeight = totalHeight - 233;
$("#table-container").css({ "max-height": bodyMaxHeight, "overflow": "scroll" });
$("#table-container").css({ "max-height": "500px", "overflow": "scroll" });

//编辑
var edit_form_html = "";
Expand Down
13 changes: 2 additions & 11 deletions SAEA.WebRedisManager/wwwroot/Content/js/redis.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,13 @@
$("textarea[name='configs']").val(JSON.stringify(data.Data, " ", 4));
}
}
else if (data.Code === 3) {
else if (data.Code === 3) {
layer.msg("操作失败:" + data.Message, { time: 2000 }, function () {
location.href = "/login.html";
});
}
else {
if (data == "") return;
layer.msg("操作失败:" + data.Message, { time: 2000 });
}
});
Expand Down Expand Up @@ -203,11 +204,6 @@
if (data.Code === 1) {
parent.location.reload();
}
else if (data.Code === 3) {
layer.msg("操作失败:" + data.Message, { time: 2000, shade: 0.3, shadeClose: false }, function () {
top.location.href = "/login.html";
});
}
else {
layer.msg("操作失败:" + data.Message, { time: 2000 });
}
Expand All @@ -226,11 +222,6 @@
if (data.Code === 1) {
parent.location.reload();
}
else if (data.Code === 3) {
layer.msg("操作失败:" + data.Message, { time: 2000, shade: 0.3, shadeClose: false }, function () {
top.location.href = "/login.html";
});
}
else {
layer.msg("操作失败:" + data.Message, { time: 2000 });
}
Expand Down
2 changes: 1 addition & 1 deletion SAEA.WebRedisManager/wwwroot/Index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<a href="https://github.com/yswenli/WebRedisManager/releases" target="_blank" style="font-size: 35px;color: #c5c5c5;display: inline-block;margin-top: 8px;">
<img id="markImg" src="/content/img/6139455.png" />&nbsp;WebRedisManager
<span style="font-size:15px;">
v7.0.0.1
v7.0.0.2
</span>
</a>
<ul class="layui-nav">
Expand Down
5 changes: 5 additions & 0 deletions SAEA.WebRedisManager/wwwroot/IndexContent.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@
同时它也是一个开源的项目,详情点击:<a href="https://www.cnblogs.com/yswenli/p/9460527.html" target="_blank">https://www.cnblogs.com/yswenli/p/9460527.html</a>,项目源码地址:
<a href="https://github.com/yswenli/WebRedisManager" target="_blank">https://github.com/yswenli/WebRedisManager</a><br />
</p>
<p class="layui-elem-quote">
<b>v 7.0.0.2</b><br />
<span>1.优化了SAEA.RedisSocket和SAEA.Mvc的性能</span><br />
<span>2.调整了SAEA.RedisSocket底层接收队列</span><br />
</p>
<p class="layui-elem-quote">
<b>v 6.2.6.6</b><br />
<span>1.大幅度优化了SAEA.RedisSocket和SAEA.Mvc的性能</span><br />
Expand Down
2 changes: 1 addition & 1 deletion SAEA.WebRedisManager/wwwroot/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ <h2>WebRedisManager</h2>
</div>

<div class="layui-trans layadmin-user-login-footer">
<p>© 2021 <a href="https://github.com/yswenli/WebRedisManager" target="_blank">yswenli version:7.0.0.1</a></p>
<p>© 2021 <a href="https://github.com/yswenli/WebRedisManager" target="_blank">yswenli version:7.0.0.2</a></p>
</div>

</div>
Expand Down

0 comments on commit fd2acfe

Please sign in to comment.