File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments