forked from Gitlink/forgeplus-react
build
This commit is contained in:
parent
321437e8c0
commit
13c27554ab
|
|
@ -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=>{})
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue