This commit is contained in:
caishi 2023-09-22 10:44:50 +08:00
parent 321437e8c0
commit 13c27554ab
1 changed files with 1 additions and 5 deletions

View File

@ -20,10 +20,6 @@ function Apply(props){
},[current_user])
function submitFunc(){
console.log(window.location.port !== "3007",window.location.port);
if(window.location.port !== "3007" && !cookie.load("autologin_trustie")){
props.history.push("/403");
}
validateFields((error,values)=>{
if(!error){
const zoneApplication = {...values};
@ -32,7 +28,7 @@ function Apply(props){
props.showNotification("提交成功!");
setTimeout(() => {
window.location.href="/";
}, 200);
}, 100);
}
}).catch(error=>{})
}