mirror of
https://github.com/wnlen/clash-for-linux.git
synced 2026-02-04 10:11:28 +08:00
metacubexd
This commit is contained in:
1
dashboard/public/_nuxt/48NUT-il.js
Normal file
1
dashboard/public/_nuxt/48NUT-il.js
Normal file
@ -0,0 +1 @@
|
||||
import{M as e,_t as t,yt as n}from"./CwRUcIL4.js";import{t as r}from"./_v7-ePgP.js";const i=e(`global`,()=>{let e=n(null),r=n(null),i=n(null),a=t({download:[],upload:[]}),o=t([]),s=t([]);return{rootElement:e,latestTraffic:r,latestMemory:i,trafficChartHistory:a,memoryChartHistory:o,connectionCountHistory:s,setLatestTraffic:e=>{r.value=e},setLatestMemory:e=>{i.value=e},addTrafficDataPoint:(e,t,n)=>{a.download.push([e,t]),a.upload.push([e,n]),a.download.length>10&&a.download.shift(),a.upload.length>10&&a.upload.shift()},addMemoryDataPoint:(e,t)=>{o.push([e,t]),o.length>10&&o.shift()},addConnectionCountDataPoint:(e,t)=>{s.push([e,t]),s.length>10&&s.shift()},clearChartHistory:()=>{a.download.length=0,a.upload.length=0,o.length=0,s.length=0}}});export{i as t};
|
||||
Reference in New Issue
Block a user