import{d as k,f as s,o as y,U as r,a2 as o,ad as i,u as v,a3 as u,k as c,af as l,F as I,ae as g,V as h}from"./vue-vendor-CxLCUzY4.js";import{ae as D}from"./antd-vue-vendor-CahNzUUa.js";import{h as q}from"./index-Cy4uayzW.js";import x from"./gauge-BNUXCL11.js";import"./vxe-table-vendor-Cdi8WfTx.js";import"./useECharts-C5PCME_B.js";import"./useTimeout-gJpgadD6.js";import"./echarts-3CSrakfu.js";const C=()=>q.get({url:"/sys/actuator/redis/queryDiskInfo"},{successMessageMode:"none"}),w={key:1},L=k({__name:"DiskInfo",setup(B){const a=s([]),n=s(!0);function f(){C().then(e=>{for(let t=0;t<e.length;t++)e[t].restPPT=100-parseInt(String(e[t].rest/e[t].max*100));a.value=e}).finally(()=>n.value=!1)}return y(()=>{f()}),(e,t)=>{const m=r("a-col"),d=r("a-row");return n.value?(o(),i(v(D),{key:0,active:""})):(o(),u("div",w,[c(d,null,{default:l(()=>[a.value&&a.value.length>0?(o(!0),u(I,{key:0},g(a.value,(p,_)=>(o(),i(m,{span:6,key:"diskInfo"+_},{default:l(()=>[c(x,{data:p},null,8,["data"])]),_:2},1024))),128)):h("",!0)]),_:1})]))}}});export{L as default};
