import{aH as r,a as u,b as d,l as c,dp as m,dx as p,r as l,al as _,a7 as f,eU as g,o as v,aK as x,p as S,i as B,j as I,n as C,k as M,c0 as T}from"./index.bde7963b.js";import U from"./Login.9e0d1450.js";import"./LoginForm.7b12d6fb.js";import"./index.0103b3aa.js";import"./index.3289c967.js";import"./_baseIteratee.34b68bfe.js";import"./LoginFormTitle.8be4bfe0.js";import"./index.b75cc0a1.js";const h=u({__name:"SessionTimeoutLogin",setup(k){const{prefixCls:t}=d("st-login"),e=c(),n=m(),a=p(),o=l(0),i=()=>a.getProjectConfig.permissionMode===g.BACK;return _(()=>{var s;o.value=(s=e.getUserInfo)==null?void 0:s.userId,console.log("Mounted",e.getUserInfo)}),f(()=>{(o.value&&o.value!==e.getUserInfo.userId||i()&&n.getLastBuildMenuTime===0)&&document.location.reload()}),(s,L)=>(v(),x(T,null,{default:S(()=>[B("div",{class:C(M(t))},[I(U,{sessionTimeout:""})],2)]),_:1}))}});var N=r(h,[["__scopeId","data-v-07eaddea"]]);export{N as default};
