1 |
- import{z as p,E as m,af as e}from"./index.1417328f.js";function E(n={}){const{query:r}=p(),{collapseLen:t,baseName:s}=n,a=m([]),u=e(()=>r.id),l=e(()=>o.value?`${s}\u8BE6\u60C5`:`\u521B\u5EFA${s}`),o=e(()=>!!u.value);t&&(a.value=c(t));function c(i){return Array(i).fill(0).map((d,f)=>String(f+1))}return{id:u,title:l,isDetail:o,collapses:a}}export{E as u};
|