|
|
@ -10,7 +10,7 @@ const $ = window.$;
|
|
|
|
const opens ="79e33abd4b6588941ab7622aed1e67e8";
|
|
|
|
const opens ="79e33abd4b6588941ab7622aed1e67e8";
|
|
|
|
let timestamp;
|
|
|
|
let timestamp;
|
|
|
|
let checkSubmitFlg = false;
|
|
|
|
let checkSubmitFlg = false;
|
|
|
|
|
|
|
|
let message501=false;
|
|
|
|
broadcastChannelOnmessage('refreshPage', () => {
|
|
|
|
broadcastChannelOnmessage('refreshPage', () => {
|
|
|
|
window.location.reload()
|
|
|
|
window.location.reload()
|
|
|
|
})
|
|
|
|
})
|
|
|
@ -225,13 +225,19 @@ export function initAxiosInterceptors(props) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (response.data.status === 501) {
|
|
|
|
if (response.data.status === 501) {
|
|
|
|
notification.open({
|
|
|
|
if(message501===false){
|
|
|
|
message:"提示",
|
|
|
|
message501=true
|
|
|
|
description:response.data.message || '访问异常,请求不合理',
|
|
|
|
notification.open({
|
|
|
|
style: {
|
|
|
|
message:"提示",
|
|
|
|
zIndex: 99999999
|
|
|
|
description:response.data.message || '访问异常,请求不合理',
|
|
|
|
}
|
|
|
|
style: {
|
|
|
|
})
|
|
|
|
zIndex: 99999999
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
window.setTimeout(function () {
|
|
|
|
|
|
|
|
message501=false
|
|
|
|
|
|
|
|
}, 2000);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|