|
|
|
@ -10,6 +10,7 @@ const $ = window.$;
|
|
|
|
|
const opens ="79e33abd4b6588941ab7622aed1e67e8";
|
|
|
|
|
let timestamp;
|
|
|
|
|
let checkSubmitFlg = false;
|
|
|
|
|
|
|
|
|
|
broadcastChannelOnmessage('refreshPage', () => {
|
|
|
|
|
window.location.reload()
|
|
|
|
|
})
|
|
|
|
@ -51,7 +52,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 +62,7 @@ if (isDev) {
|
|
|
|
|
checkSubmitFlg=true
|
|
|
|
|
window.setTimeout(function () {
|
|
|
|
|
checkSubmitFlg=false;
|
|
|
|
|
}, 2500);
|
|
|
|
|
}, 2000);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
window._debugType = debugType;
|
|
|
|
@ -227,8 +228,12 @@ export function initAxiosInterceptors(props) {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (response.data.status === 501) {
|
|
|
|
|
notification.warning({
|
|
|
|
|
notification.open({
|
|
|
|
|
message:"提示",
|
|
|
|
|
description:response.data.message || '访问异常,请求不合理',
|
|
|
|
|
style: {
|
|
|
|
|
zIndex: 99999999
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|