subItem.39ea691f.js 1.9 KB

123
  1. import{e as l,f as b,a0 as o,g as t,h as i,Q as x,F as s,p as c,q as a,A as m,j as u,z as p,U as C,y as I}from"./vue.e266cb73.js";import{o as L}from"./other.461df1d8.js";import{_ as B}from"./_plugin-vue_export-helper.c27b6911.js";import"./preload-helper.41c905a7.js";import"./index.f84209b0.js";import"./index.9d5bda4a.js";import"./_commonjsHelpers.35101cd5.js";import"./index.3f666869.js";import"./keepAliveNames.4207d036.js";import"./routesList.786cc129.js";import"./themeConfig.ed8e6a95.js";import"./storage.acfc8920.js";import"./userInfo.0308cef3.js";import"./loading.85c4a19d.js";import"./tagsViewRoutes.02a94730.js";import"./request.1f3df8c8.js";import"./config.3668004a.js";import"./index.4f91577e.js";import"./index.dcc65bf7.js";import"./Urls.a85bb052.js";import"./index.8a8cbd14.js";import"./vue-i18n.cjs.825cc1d7.js";import"./toolsValidate.7cb139e2.js";const S=["onClick"],$=l({name:"navMenuSubItem"}),w=l({...$,props:{chil:{type:Array,default:()=>[]}},setup(_){const d=_,h=b(()=>d.chil),f=n=>{L.handleOpenLink(n)};return(n,A)=>{const r=o("SvgIcon"),k=o("sub-item",!0),g=o("el-sub-menu"),y=o("el-menu-item");return t(!0),i(s,null,x(h.value,e=>(t(),i(s,null,[e.children&&e.children.length>0?(t(),c(g,{index:e.path,key:e.path},{title:a(()=>[m(r,{name:e.meta.icon},null,8,["name"]),u("span",null,p(n.$t(e.meta.title)),1)]),default:a(()=>[m(k,{chil:e.children},null,8,["chil"])]),_:2},1032,["index"])):(t(),c(y,{index:e.path,key:e.path},{default:a(()=>[!e.meta.isLink||e.meta.isLink&&e.meta.isIframe?(t(),i(s,{key:0},[m(r,{name:e.meta.icon},null,8,["name"]),u("span",null,p(n.$t(e.meta.title)),1)],64)):(t(),i("a",{key:1,class:"w100",onClick:C(M=>f(e),["prevent"])},[m(r,{name:e.meta.icon},null,8,["name"]),I(" "+p(n.$t(e.meta.title)),1)],8,S))]),_:2},1032,["index"]))],64))),256)}}});const ee=B(w,[["__file","C:/Users/89282/Desktop/lechang_storage/lechang_storage/vue-next-admin/src/layout/navMenu/subItem.vue"]]);export{ee as default};
  2. //# sourceMappingURL=subItem.39ea691f.js.map