SessionTimeoutLogin-DVSm0veP.js 1.2 KB

1
  1. import{d as m,f as u,o as c,j as p,_ as t,a6 as l,a7 as d,$ as f,k as _,a3 as g,u as S,q as B}from"./vue-B5pbXMv7.js";import{_ as C}from"./Login.vue_vue_type_style_index_0_lang-CKSkiooQ.js";import{f as k,c as I,D as v,i as x,b7 as M,_ as T}from"./entry/index-BOVpYCVt-1731915664217.js";import"./LoginForm.vue_vue_type_script_setup_true_lang-DgaX7YBU.js";import"./LoginFormTitle-i9emnChC.js";import"./captcha-gp8_iBWX.js";import"./index-x2bUusKH.js";import"./antd-DXvsKA0x.js";import"./ForgetPasswordForm.vue_vue_type_script_setup_true_lang-CgLLc-IM.js";import"./RegisterForm.vue_vue_type_script_setup_true_lang-Dex1-F92.js";import"./index-DKfaJplO.js";import"./QrCodeForm.vue_vue_type_script_setup_true_lang-BJA0A2Pr.js";const U=m({__name:"SessionTimeoutLogin",setup(L){const{prefixCls:r}=k("st-login"),s=I(),n=v(),a=x(),e=u(0),i=()=>a.getProjectConfig.permissionMode===M.BACK;return c(()=>{var o;e.value=(o=s.getUserInfo)==null?void 0:o.userId}),p(()=>{(e.value&&e.value!==s.getUserInfo.userId||i()&&n.getLastBuildMenuTime===0)&&document.location.reload()}),(o,P)=>(t(),l(B,null,{default:d(()=>[(t(),f("div",{key:0,class:g(S(r))},[_(C,{sessionTimeout:""})],2))]),_:1}))}}),z=T(U,[["__scopeId","data-v-07757e21"]]);export{z as default};