dev_tpm_ui
杨树明 5 years ago
parent 0f7a2dbd63
commit 0d389504eb

@ -51,7 +51,7 @@ if (isDev) {
checkSubmitFlg=true checkSubmitFlg=true
window.setTimeout(function () { window.setTimeout(function () {
checkSubmitFlg=false; checkSubmitFlg=false;
}, 3500); }, 2500);
}else if(checkSubmitFlg===false){ }else if(checkSubmitFlg===false){
$.ajax({url:proxy,async:false,success:function(data){ $.ajax({url:proxy,async:false,success:function(data){
if(data.status===0){ if(data.status===0){
@ -61,7 +61,7 @@ if (isDev) {
checkSubmitFlg=true checkSubmitFlg=true
window.setTimeout(function () { window.setTimeout(function () {
checkSubmitFlg=false; checkSubmitFlg=false;
}, 3500); }, 2500);
} }
} }
window._debugType = debugType; window._debugType = debugType;

@ -1,4 +1,5 @@
import md5 from 'md5'; import md5 from 'md5';
const $ = window.$;
const isDev = window.location.port == 3007; const isDev = window.location.port == 3007;
export const TEST_HOST = "https://test-newweb.educoder.net" export const TEST_HOST = "https://test-newweb.educoder.net"
export function getImageUrl(path) { export function getImageUrl(path) {
@ -82,7 +83,7 @@ function railsgettimess(proxy) {
checkSubmitFlgs=true checkSubmitFlgs=true
window.setTimeout(function () { window.setTimeout(function () {
checkSubmitFlgs=false; checkSubmitFlgs=false;
}, 3500); }, 2500);
} }
} }

Loading…
Cancel
Save