From 13c27554abc9d34b4a5a329d90409774ce4c88c6 Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Fri, 22 Sep 2023 10:44:50 +0800 Subject: [PATCH] build --- src/forge/Information/Pages/apply.jsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/forge/Information/Pages/apply.jsx b/src/forge/Information/Pages/apply.jsx index f38773e8..77851a71 100644 --- a/src/forge/Information/Pages/apply.jsx +++ b/src/forge/Information/Pages/apply.jsx @@ -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=>{}) }