import{d as y,O as r,P as n,g as f,R as x,s as T,i as k,j as w,a7 as C,a1 as p,l as d,o as L,b as g,y as u,x as t,u as m,K as E,B as M,_ as S}from"./index.4042ed24.js";const A=y({name:"layoutDefaults"}),B=y({...A,setup(P){const v=r(()=>n(()=>import("./aside.d831614b.js"),["aside.d831614b.js","index.4042ed24.js","index.dbc27bcc.css"],import.meta.url));r(()=>n(()=>import("./header.29e47610.js"),["header.29e47610.js","header.1392fb10.css","index.4042ed24.js","index.dbc27bcc.css","index.722407ee.js","logo-mini.da0d67fe.js","tagsView.fca3bd85.js","tagsView.69051fb3.css"],import.meta.url));const b=r(()=>n(()=>import("./main.562f087a.js"),["main.562f087a.js","index.4042ed24.js","index.dbc27bcc.css"],import.meta.url)),e=f(""),a=f(),R=x(),{themeConfig:h}=T(k()),c=()=>{M(()=>{setTimeout(()=>{i(),console.log(e.value),e.value&&(e.value.wrap$.scrollTop=0),a.value&&(a.value.layoutMainScrollbarRef.wrap$.scrollTop=0)},500)})},i=()=>{var s,l,o;(s=e.value)==null||s.update(),(o=(l=a.value)==null?void 0:l.layoutMainScrollbarRef)==null||o.update()};return w(()=>{c(),C.done(600)}),p(()=>R.path,()=>{c()}),p(h,()=>{i()},{deep:!0}),(s,l)=>{const o=d("el-scrollbar"),_=d("el-container");return L(),g(_,{class:"layout-container"},{default:u(()=>[t(m(v)),t(_,{class:"layout-container-view h100"},{default:u(()=>[t(o,{ref_key:"layoutScrollbarRef",ref:e,class:"layout-backtop"},{default:u(()=>[E(" <LayoutHeader /> "),t(m(b),{ref_key:"layoutMainRef",ref:a},null,512)]),_:1},512)]),_:1})]),_:1})}}}),D=S(B,[["__file","/data/jenkins/workspace/badp-bcxin-web-5.x-dispatchBusiness/src/layout/main/defaults.vue"]]);export{D as default};
