3 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			3 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/breadcrumb.jSUZzFpn.js","assets/vue.CZk_9PbR.js","assets/index.Ct5zz34E.js","assets/index.Q7KH32Kl.css","assets/_plugin-vue_export-helper.DlAUqK2U.js","assets/breadcrumb.BJHFkKjg.css","assets/user.DkIXYtKC.js","assets/user.B67-ktYZ.css","assets/index.BzhfLdO2.js","assets/logo-mini.DsoW6-AP.js","assets/index.2GCD3S4M.css","assets/horizontal.DjGNZo-M.js","assets/horizontal.wKNWdtJU.css"])))=>i.map(i=>d[i]);
 | 
						|
import{I as D,u as O,o as d,_ as r}from"./index.Ct5zz34E.js";import{d as C,M as p,Q as V,r as A,p as f,o as F,O as M,c as w,e as _,g as h,h as L,f as v,u as a,P as i}from"./vue.CZk_9PbR.js";import{_ as H}from"./_plugin-vue_export-helper.DlAUqK2U.js";const N={class:"layout-navbars-breadcrumb-index"},U=C({name:"layoutBreadcrumbIndex"}),j=C({...U,setup(z){const R=i(()=>r(()=>import("./breadcrumb.jSUZzFpn.js"),__vite__mapDeps([0,1,2,3,4,5]))),g=i(()=>r(()=>import("./user.DkIXYtKC.js"),__vite__mapDeps([6,2,1,3,4,7]))),I=i(()=>r(()=>import("./index.BzhfLdO2.js"),__vite__mapDeps([8,1,2,3,9,4,10]))),y=i(()=>r(()=>import("./horizontal.DjGNZo-M.js"),__vite__mapDeps([11,2,1,3,4,12]))),E=D(),S=O(),{themeConfig:c}=p(S),{routesList:u}=p(E),b=V(),l=A({menuList:[]}),x=f(()=>{let{isShowLogo:t,layout:e}=c.value;return t&&e==="classic"||t&&e==="transverse"}),T=f(()=>{let{layout:t,isClassicSplitMenu:e}=c.value;return t==="transverse"||e&&t==="classic"}),m=()=>{let{layout:t,isClassicSplitMenu:e}=c.value;if(t==="classic"&&e){l.menuList=B(n(u.value));const s=P(b.path);d.emit("setSendClassicChildren",s)}else l.menuList=n(u.value)},B=t=>(t.map(e=>{e.children&&delete e.children}),t),n=t=>t.filter(e=>{var s;return!((s=e.meta)!=null&&s.isHide)}).map(e=>(e=Object.assign({},e),e.children&&(e.children=n(e.children)),e)),P=t=>{const e=t.split("/");let s={children:[]};return n(u.value).map((o,k)=>{o.path===`/${e[1]}`&&(o.k=k,s.item={...o},s.children=[{...o}],o.children&&(s.children=o.children))}),s};return F(()=>{m(),d.on("getBreadcrumbIndexSetFilterRoutes",()=>{m()})}),M(()=>{d.off("getBreadcrumbIndexSetFilterRoutes",()=>{})}),(t,e)=>(_(),w("div",N,[x.value?(_(),h(a(I),{key:0})):L("",!0),v(a(R)),T.value?(_(),h(a(y),{key:1,menuList:l.menuList},null,8,["menuList"])):L("",!0),v(a(g))]))}}),G=H(j,[["__scopeId","data-v-12036a87"]]);export{G as default};
 |