import{a as l}from"./base-ea2d5d04-1782729249161v=1.0.0.js";import{r as i,m as u}from"./vendor-1e24e3ad-1782729249161v=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};
