|
|
|
@ -7,8 +7,6 @@ import { broadcastChannelOnmessage ,SetAppModel, isDev, queryString } from 'educ
|
|
|
|
|
import { notification } from 'antd';
|
|
|
|
|
import './index.css';
|
|
|
|
|
const opens ="79e33abd4b6588941ab7622aed1e67e8";
|
|
|
|
|
let timestamp = Date.parse(new Date());
|
|
|
|
|
const newopens=md5(opens+timestamp)
|
|
|
|
|
broadcastChannelOnmessage('refreshPage', () => {
|
|
|
|
|
window.location.reload()
|
|
|
|
|
})
|
|
|
|
@ -94,6 +92,8 @@ export function initAxiosInterceptors(props) {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if(`${config[0]}`!=`true`){
|
|
|
|
|
let timestamp = Date.parse(new Date())/1000;
|
|
|
|
|
let newopens=md5(opens+timestamp)
|
|
|
|
|
if (window.location.port === "3007") {
|
|
|
|
|
config.url = `${proxy}${url}`;
|
|
|
|
|
if (config.url.indexOf('?') == -1) {
|
|
|
|
|