import{u as t,h as e,s,c as n,o,i}from"./index-DL8B2Mxu.js";import{_ as a}from"./_plugin-vue_export-helper.BCo6x5W8.js";const r=a({data:()=>({token:""}),onLoad(t){this.token=t.token,this.init()},methods:{init(){const n=t();n.setToken(this.token),n.getCurrentUser().then((t=>{e(),s({url:"/pages/index/index"}),this.show=!1})).catch((()=>{e(),s({url:"/pages/login/index"})}))}}},[["render",function(t,e,s,a,r,h){const d=i;return o(),n(d,{class:""})}]]);export{r as default};
