import{d as _,c as x,l as c,o as t,a as n,K as y,Y as s,Z as I,b as u,y as i,x as a,e as p,q as m,p as g,u as B,_ as w}from"./index.4042ed24.js";import r from"./index.e7b6d9ba.js";const C=["href"],L=_({name:"navMenuSubItem"}),N=_({...L,props:{chil:{type:Array,default:()=>[]}},setup(d){const l=d;console.log(l.chil);const h=x(()=>l.chil);return(o,V)=>{const f=c("sub-Item",!0),k=c("el-sub-menu"),b=c("el-menu-item");return t(),n(s,null,[y(" {{chils}} "),(t(!0),n(s,null,I(B(h),e=>(t(),n(s,null,[e.children&&e.children.length>0?(t(),u(k,{index:e.path,key:e.path},{title:i(()=>[a(r,{name:e.meta.icon},null,8,["name"]),p("span",null,m(o.$t(e.meta.title)),1)]),default:i(()=>[a(f,{chil:e.children},null,8,["chil"])]),_:2},1032,["index"])):(t(),u(b,{index:e.path,key:e.path},{default:i(()=>[!e.meta.isLink||e.meta.isLink&&e.meta.isIframe?(t(),n(s,{key:0},[a(r,{name:e.meta.icon},null,8,["name"]),p("span",null,m(o.$t(e.meta.title)),1)],64)):(t(),n("a",{key:1,href:e.meta.isLink,target:"_blank",rel:"opener",class:"w100"},[a(r,{name:e.meta.icon},null,8,["name"]),g(" "+m(o.$t(e.meta.title)),1)],8,C))]),_:2},1032,["index"]))],64))),256))],2112)}}}),M=w(N,[["__file","/data/jenkins/workspace/badp-bcxin-web-5.x-dispatchBusiness/src/layout/navMenu/subItem.vue"]]);export{M as default};
