import{c as a,r as s,v as t,x as o,e as r,B as p,C as i,I as n,y as e,G as m,bu as l}from"./base-lib.js?v=1761009159";import{_ as c}from"./index119.js?v=1761009159";import{j8 as d,ak as u}from"./utils-lib.js?v=1761009159";import{u as j}from"./useMethod7.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";import"./validator.js?v=1761009159";import"./index106.js?v=1761009159";import"./column.js?v=1761009159";const _={class:"p-16px h-300px"},x=a({__name:"index",props:{compData:{}},setup(a){const x=a,{loading:f,setLoading:y}=j(),b=s("暂无日志"),h=async()=>{y(!0);try{const{data:a}=await d({path:x.compData.log});u(a)&&(b.value=a.data?a.data:"暂无日志")}finally{y(!1)}};return h(),(a,s)=>{const d=m,u=c,j=l;return t(),o("div",_,[r(d,{class:"mb-8px",type:"primary",onClick:h},{default:p(()=>s[0]||(s[0]=[i("刷新",-1)])),_:1,__:[0]}),n(r(u,{class:"h-[280px]",content:e(b)},null,8,["content"]),[[j,e(f)]])])}}});export{x as default};
