import{S as t}from"./index.Df8UJ10K.js";const f=s=>{const n=t.get("userInfo"),o=n&&n.username==="平台管理员";return s.filter(r=>{var e;return o&&r.path==="/home"?!1:!((e=r.meta)!=null&&e.isHide)}).map(r=>(r=Object.assign({},r),r.children&&(r.children=f(r.children)),r))};export{f};
