import{d as a,f as p,o as n,j as u,a2 as c,ad as d,af as f,a4 as l,k as _,a6 as g,u as S,m as B}from"./vue-vendor-CxLCUzY4.js";import C from"./Login-5DKRBOk0.js";import{C as v,ab as I,bv as x,z as M,bu as T,_ as b}from"./index-CLZzJyTP.js";import"./LoginForm-BNokFFQt.js";import"./checkcode-BFTlTB0q.js";import"./antd-vue-vendor-CahNzUUa.js";import"./LoginFormTitle-KDWDPvSe.js";import"./vxe-table-vendor-Cdi8WfTx.js";import"./ThirdModal-Bg1tPBBw.js";import"./index-D0jTtUNS.js";import"./useCountdown-BpP55PQ2.js";import"./index-XZKTTfG1.js";import"./BasicModal-B8XmAOm7.js";import"./ModalHeader-DIFQSP_0.js";import"./useTimeout-KpZCXEcl.js";import"./index-DvqyyN77.js";import"./useWindowSizeFn-D9PllI8g.js";import"./index-DS3utcig.js";import"./index-BZbg0EjM.js";import"./index-CrdW4fN1.js";import"./useIntersectionObserver-FVRzwlSd.js";import"./useFormItemSingle-BEyrYQqf.js";import"./useThirdLogin-BY_X2KTY.js";import"./ForgetPasswordForm-EMV--wek.js";import"./step1-BA8bByvl.js";import"./step2-y31H4HYL.js";import"./index-CDa2_aYE.js";import"./step3-CCe8yaSA.js";import"./RegisterForm-BCd_Wf_c.js";import"./MobileForm-DnYzbcjz.js";import"./QrCodeForm-RaqtKzPa.js";import"./index-D7QqO43Q.js";import"./download-DopMSmFN.js";import"./base64Conver-24EVOS6V.js";const k=a({__name:"SessionTimeoutLogin",setup(U){const{prefixCls:r}=v("st-login"),e=I(),s=x(),i=M(),o=p(0),m=()=>i.getProjectConfig.permissionMode===T.BACK;return n(()=>{var t;o.value=(t=e.getUserInfo)==null?void 0:t.userId}),u(()=>{(o.value&&o.value!==e.getUserInfo.userId||m()&&s.getLastBuildMenuTime===0)&&document.location.reload()}),(t,L)=>(c(),d(B,null,{default:f(()=>[l("div",{class:g(S(r))},[_(C,{sessionTimeout:""})],2)]),_:1}))}}),no=b(k,[["__scopeId","data-v-1a49c5be"]]);export{no as default};
