import{u as a,d as s,n as e,f as t,o as n,j as r,w as l,s as d,r as o,B as u,D as c,e as i,_ as p}from"./index-018fb6dd.js";const f=(a=0)=>h(a);function h(s=0,e=""){const t=a().getPermissions;let n=!1;return t.forEach((a=>{if(parseInt(a.parent_id)==parseInt(s))return n=!0,s=a.id,e=e>""?e+"/"+a.route:a.route})),n?h(s,e):e.replace(/\/$/,"")}const _=(a=>(u("data-v-a16b02ad"),a=a(),c(),a))((()=>i("div",{class:"welcome"},[i("div",{class:"header"},[i("h1",null,"追书云短剧平台")]),i("div",{class:"content"},[i("h2",null,"欢迎使用"),i("p",null,"点击左侧菜单进行操作")])],-1))),m=p(s({__name:"index",setup(a){let s=f(0);return s&&e.push({path:s}),(a,e)=>{const u=o("el-card");return t(s)?d("",!0):(n(),r(u,{key:0,shadow:"always",class:"flex justify-center h-full","body-style":{padding:"20px"}},{default:l((()=>[_])),_:1}))}}}),[["__scopeId","data-v-a16b02ad"]]);export{m as default};
