import{a as l}from"./base-f440e6a9-1782572373740v=1.0.0.js";import{r as i,m as u}from"./vendor-866bb149-1782572373740v=1.0.0.js";const Y=(n=!0)=>{const e=i([]),t=i(""),o=async()=>{var r,s;const a=await l({page:1,size:999});a.code===0&&(e.value=a.data.listData.map(c=>({label:c.name,value:c.schoolYearId})),t.value=(s=(r=a.data.listData)==null?void 0:r[0])==null?void 0:s.schoolYearId)};return u(()=>{n&&o()}),{academicYearOptions:e,getAcademicYearList:o,initYear:t}};export{Y as u};
