import{d as h,s as y,_ as f,c as u,e as o,f as C,k as l,i as a,g as t,H as i,t as d,G as b,A as k}from"./index.0308b213.js";const $=h({components:{},props:{route:{type:Object,default:()=>({})}},setup(e){return{hasChildren:y(()=>{var n;return!!((n=e.route.children)!=null?n:[]).filter(r=>{var s;return!((s=r.meta)!=null&&s.hidden)}).length})}}});const g={key:0,class:"diyyyyy"};function v(e,m,c,n,r,s){const p=u("el-sub-menu"),_=u("el-menu-item");return!e.route.meta.hidden&&(e.route.meta.module&&e.route.is_buy>-1?e.route.is_buy===1:!0)?(o(),C("div",g,[e.hasChildren?(o(),l(p,{key:0,"popper-class":"diyElSubmenuClass",index:e.route.path},{title:a(()=>[t("i",{class:i(["m-r-10 menuIcon",`tn-icon-${e.route.meta.icon}`])},null,2),t("span",null,d(e.route.meta.title)+"666",1)]),default:a(()=>[b(e.$slots,"default")]),_:3},8,["index"])):(o(),l(_,{key:1,index:e.route.path},{default:a(()=>[t("i",{class:i(["m-r-10 menuIcon",`tn-icon-${e.route.meta.icon}`])},null,2),t("span",null,d(e.route.meta.title),1)]),_:1},8,["index"]))])):k("",!0)}const S=f($,[["render",v]]);export{S as default};
