dev_tpm_ui
杨树明 5 years ago
parent 628b32c8cf
commit 05038761ba

@ -51,7 +51,7 @@ if (isDev) {
checkSubmitFlg=true
window.setTimeout(function () {
checkSubmitFlg=false;
}, 2500);
}, 2000);
}else if(checkSubmitFlg===false){
$.ajax({url:proxy,async:false,success:function(data){
if(data.status===0){
@ -61,7 +61,7 @@ if (isDev) {
checkSubmitFlg=true
window.setTimeout(function () {
checkSubmitFlg=false;
}, 2500);
}, 2000);
}
}
window._debugType = debugType;
@ -224,6 +224,7 @@ export function initAxiosInterceptors(props) {
}
if (response.data.status === 501) {
window.location.reload()
notification.warning({
description:response.data.message || '访问异常,请求不合理',
})

Loading…
Cancel
Save