Skip to content

Commit 070e736

Browse files
committed
fixed
1 parent 1fa50d4 commit 070e736

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

static/js/index.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,13 @@ window.getKey = function getKey() {
116116
let version = $("#version").val();
117117
if (app == "MobaXterm") {
118118
// 构造隐藏的form表单
119-
// let form = $(`<form action="/getKey" method="post" target="_blank">
120-
// <input type="text" name="company" value="${company}"/>
121-
// <input type="text" name="app" value="${app}"/>
122-
// <input type="text" name="version" value="${version}"/>
123-
// </form>`);
124-
// $(document.body).append(form);
125-
// form.submit().remove();
119+
/*let form = $(`<form action="/getKey" method="post" target="_blank">
120+
<input type="text" name="company" value="${company}"/>
121+
<input type="text" name="app" value="${app}"/>
122+
<input type="text" name="version" value="${version}"/>
123+
</form>`);
124+
$(document.body).append(form);
125+
form.submit().remove();*/
126126

127127
http.download("/getKey", {company: company, app: app, version: version}).then(r => {
128128
log.info(r);
@@ -189,7 +189,7 @@ window.netSarangDownload = function netSarangDownload() {
189189
}
190190
let app = $("#app").val();
191191
let version = $("#version").val();
192-
if (version != "6") {
192+
if (version != "latest") {
193193
//提示层
194194
layer.msg("只提供NetSarang的产品最新版本下载", {icon: 5});
195195
return;

0 commit comments

Comments
 (0)