This commit is contained in:
wnlen
2026-01-18 23:48:32 +08:00
parent a80ee89d46
commit eb4a01c1f6
33 changed files with 34 additions and 34 deletions

View File

@ -0,0 +1 @@
import{M as e,yt as t}from"./B7rlnwkb.js";import{t as n}from"./CdlJ_YxQ.js";const r=e(`logs`,()=>{let e=n(),r=t([]),i=t(!1),a=1;return{logs:r,paused:i,addLog:t=>{i.value||(r.value=[{...t,seq:a},...r.value].slice(0,e.logMaxRows),a++)},clearLogs:()=>{r.value=[],a=1},togglePaused:()=>{i.value=!i.value}}});export{r as t};