← Back
Editing: index301.js
import{u as e}from"./utils-lib.js?v=VERSION_NUMBER";import{aU as s}from"./firewall.js?v=VERSION_NUMBER";import{c as t,r as l,q as a,v as o,y as r,B as n,x as i,K as c,n as p}from"./base-lib.js?v=VERSION_NUMBER";import"./__commonjsHelpers__.js?v=VERSION_NUMBER";const u={class:"p-[12px] w-full flex items-start overflow-y-auto h-full pre-box"},f=["innerHTML"],m=t({__name:"index",setup(t){const{mainHeight:m}=e(),x=l(),h=l({});return(async()=>{const{data:e}=await s();h.value=e.msg,p((()=>{const e=document.querySelector(".pre-box");e.scrollTop=e.scrollHeight}))})(),(e,s)=>(a(),o("div",{ref_key:"logPopupCon",ref:x,class:"bg-[#333] text-white w-full h-full",style:c("height: ".concat(i(m)-170,"px;"))},[r("pre",u,[s[0]||(s[0]=n("\t\t\t")),r("code",{class:"flex-1 w-full p-0 bg-none whitespace-pre-line text-i text-[#ececec]",innerHTML:i(h)},null,8,f),s[1]||(s[1]=n("\n\t\t"))])],4))}});export{m as default};
Save File
Cancel