1 |
- import{r as n}from"./index.Ib81wAC-.js";import{r as t}from"./vue.fY72QXCX.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};
|