text: import{_ as e}from"./PageWrapper.5e932ddb.js";import{f as t}from"./index.9345068b.js";import"./account.442b9239.js";import{k as o,L as r,o as n,q as s,R as a,s as i,Z as c}from"./vendor.c2cc062a.js";import"./usePageContext.6581b5ec.js";/* empty css              *//* empty css              */import"./onMountedOrActivated.5a05012f.js";var p=o({name:"TestSessionTimeout",components:{PageWrapper:e},setup(){const e=t();return{test:function(){return t=this,o=null,r=function*(){e.setToken(void 0),e.setSessionTimeout(!0)},new Promise(((e,n)=>{var s=e=>{try{i(r.next(e))}catch(t){n(t)}},a=e=>{try{i(r.throw(e))}catch(t){n(t)}},i=t=>t.done?e(t.value):Promise.resolve(t.value).then(s,a);i((r=r.apply(t,o)).next())}));var t,o,r}}}});const u=c("点击触发用户登录过期");p.render=function(e,t,o,c,p,m){const d=r("a-button"),f=r("PageWrapper");return n(),s(f,{title:"登录过期示例",content:"用户登录过期示例，不再跳转登录页，直接生成页面覆盖当前页面，方便保持过期前的用户状态！"},{default:a((()=>[i(d,{type:"primary",onClick:e.test},{default:a((()=>[u])),_:1},8,["onClick"])])),_:1})};export default p;
  