import{d as i,s,_ as d,c as u,e as o,f as r,k as m,A as l,R as f,S as v,g as a,e3 as h}from"./index.0308b213.js";const k=i({components:{},props:{},setup(e){const t=s(()=>1),n=s(()=>1),c=s(()=>{if(n.value)return!0});return{permission:t,hasPermission:c}}});const _=e=>(f("data-v-2997226a"),e=e(),v(),e),x={key:0,class:"perm"},y={key:1,class:"no-perm flex flex-col flex-center"},B=_(()=>a("img",{src:h},null,-1)),I=_(()=>a("div",{class:"muted"},"\u6682\u65E0\u67E5\u770B\u6743\u9650",-1)),S=[B,I];function $(e,t,n,c,g,w){const p=u("router-view");return e.permission?(o(),r("div",x,[e.hasPermission?(o(),m(p,{key:0})):(o(),r("div",y,S))])):l("",!0)}const E=d(k,[["render",$],["__scopeId","data-v-2997226a"]]);export{E as default};
