import{t as n}from"./index.Df8UJ10K.js";import{r as o}from"./vue.D1BjjNmv.js";function u(){const r=o([]),t=o([]);return{borrowCountData:r,borrowDurationData:t,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,t.value=a.data.borrow_duration_ranking)}}}export{u};
