import{c as e,o as s,v as a,x as t,e as o,B as l,C as n,A as r,y as p,ab as m,a9 as u}from"./base-lib.js?v=1761009159";import{B as d}from"./index115.js?v=1761009159";import{e as i}from"./utils-lib.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";import"./ace.js?v=1761009159";const _={class:"p-20x"},c=e({__name:"index",props:{compData:{default:{}}},setup(e){const c=e,{status_code:f,time:b,txt:j,status:x}=c.compData.result,C=s({responseTime:b,responseStatus:x?"成功":"失败",responseContent:j,responseCode:f});return(e,s)=>{const c=i,f=m,b=d,j=u;return a(),t("div",_,[o(j,{model:p(C)},{default:l(()=>[o(f,{label:"响应时间"},{default:l(()=>[o(c,null,{default:l(()=>[n(r(p(C).responseTime),1)]),_:1})]),_:1}),o(f,{label:"响应状态"},{default:l(()=>[o(c,null,{default:l(()=>[n(r(p(C).responseStatus)+" - "+r(p(C).responseCode),1)]),_:1})]),_:1}),o(f,{label:"响应内容"},{default:l(()=>[o(b,{modelValue:p(C).responseContent,"onUpdate:modelValue":s[0]||(s[0]=e=>p(C).responseContent=e),"editor-option":{readOnly:!0},class:"!h-[24rem] w-[44rem]"},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])])}}});export{c as default};
