import{e as i}from"./index-DVW30Bkn.js";import{v as c,aE as y,x as t,t as s,L as f,A as p,u as M,C as d,H as Z}from"./vue-YISEtOLz.js";import{_ as e}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./element-BtlHndxu.js";import"./vxe-aCtyydk-.js";const m={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 750 500"};function r(h,l){return t(),c("svg",m,l[0]||(l[0]=[y('',127)]))}const v={render:r},o={class:"app-container center"},g=s({__name:"Admin",setup(h){return(l,a)=>(t(),c("div",o,[f(M(v),{class:"svg"}),a[0]||(a[0]=p("p",null,"欢迎来到「Admin」角色专属首页",-1))]))}}),n=e(g,[["__scopeId","data-v-f054e4a7"]]),b={class:"app-container center"},V=s({__name:"Editor",setup(h){return(l,a)=>(t(),c("div",b,[f(M(v),{class:"svg"}),a[0]||(a[0]=p("p",null,"欢迎来到「Editor」角色专属首页",-1))]))}}),_=e(V,[["__scopeId","data-v-3b3cec06"]]),S=s({__name:"index",setup(h){const a=i().roles.includes("admin");return(z,x)=>(t(),d(Z(M(a)?n:_)))}});export{S as default};