import{r as n}from"./index.BKEMpsLA.js";import{r as t}from"./vue.YrNK8sx4.js";function u(){const r=t([]),o=t([]);return{borrowCountData:r,borrowDurationData:o,fetchRanking:async i=>{const a=await n({url:"/api/system/dashboard/device_rankings/",method:"get"});a.code===2e3&&(r.value=a.data.borrow_count_ranking,o.value=a.data.borrow_duration_ranking)}}}export{u};
