(window.webpackJsonp=window.webpackJsonp||[]).push([["mtLD"],{mtLD:function(e,t,n){"use strict";n.r(t);var a={name:"SidebarItem",props:{routes:{type:Array,default:null},isNest:{type:Boolean,default:!1}}},i=n("KHd+"),s=Object(i.a)(a,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"menu-wrapper"},[e._l(e.routes,function(t){return!t.hidden&&t.children?[1!==t.children.length||t.children[0].children?n("el-submenu",{key:t.name,attrs:{index:t.name||t.path}},[n("template",{slot:"title"},[t.meta&&t.meta.icon?n("svg-icon",{attrs:{"icon-class":t.meta.icon}}):e._e(),e._v(" "),t.meta&&t.meta.title?n("span",[e._v(e._s(t.meta.title))]):e._e()],1),e._v(" "),e._l(t.children,function(a){return a.hidden?e._e():[a.children&&a.children.length>0?n("sidebar-item",{key:a.path,staticClass:"nest-menu",attrs:{routes:[a],"is-nest":!0}}):n("router-link",{key:a.name,attrs:{to:t.path+a.path}},[n("el-menu-item",{attrs:{index:t.path+"/"+a.path}},[a.meta&&a.meta.icon?n("svg-icon",{attrs:{"icon-class":a.meta.icon}}):e._e(),e._v(" "),a.meta&&a.meta.title?n("span",[e._v(e._s(a.meta.title))]):e._e(),e._v("\n            "+e._s(t.path+"/"+a.path)+"\n          ")],1)],1)]})],2):n("router-link",{key:t.children[0].name,attrs:{to:t.path+"/"+t.children[0].path}},[n("el-menu-item",{class:{"submenu-title-noDropdown":!e.isNest},attrs:{index:t.path+"/"+t.children[0].path}},[t.children[0].meta&&t.children[0].meta.icon?n("svg-icon",{attrs:{"icon-class":t.children[0].meta.icon}}):e._e(),e._v(" "),t.children[0].meta&&t.children[0].meta.title?n("span",[e._v(e._s(t.children[0].meta.title))]):e._e()],1)],1)]:e._e()})],2)},[],!1,null,null,null);s.options.__file="SidebarItem2.vue";t.default=s.exports}}]);