import{d as p,k as L,a8 as o,o as t,c as a,$ as b,F as c,E as l,G as m,M as s,a as u,L as r,W as g,K as x}from"./vue.95e072e2.js";import{E as $}from"./index.8a64ecdf.js";import"./elementPlus.58179425.js";import"./echarts.72dc8373.js";const B=["onClick"],I=p({name:"navMenuSubItem"}),A=p({...I,props:{chil:{type:Array,default:()=>[]}},setup(d){const _=d,h=L(()=>_.chil),k=n=>{$.handleOpenLink(n)};return(n,S)=>{const i=o("SvgIcon"),f=o("sub-item",!0),y=o("el-sub-menu"),C=o("el-menu-item");return t(!0),a(c,null,b(h.value,e=>(t(),a(c,null,[e.children&&e.children.length>0?(t(),l(y,{index:e.path,key:e.path},{title:m(()=>[s(i,{name:e.meta.icon},null,8,["name"]),u("span",null,r(n.$t(e.meta.title)),1)]),default:m(()=>[s(f,{chil:e.children},null,8,["chil"])]),_:2},1032,["index"])):(t(),l(C,{style:{color:"#eaeaea"},index:e.path,key:e.path},{default:m(()=>[!e.meta.isLink||e.meta.isLink&&e.meta.isIframe?(t(),a(c,{key:0},[s(i,{name:e.meta.icon},null,8,["name"]),u("span",null,r(n.$t(e.meta.title)),1)],64)):(t(),a("a",{key:1,class:"w100",onClick:g(w=>k(e),["prevent"])},[s(i,{name:e.meta.icon},null,8,["name"]),x(" "+r(n.$t(e.meta.title)),1)],8,B))]),_:2},1032,["index"]))],64))),256)}}});export{A as default};
