← Back
Editing: index359.js
import{_ as e}from"./index.vue_vue_type_style_index_0_lang.js?v=1765440387";import{c as s,r as t,p as o,n as a,q as r,v as n,e as l}from"./base-lib.js?v=1765440387";import"./utils-lib.js?v=1765440387";import"./__commonjsHelpers__.js?v=1765440387";import"./add-host.vue_vue_type_script_setup_true_lang.js?v=1765440387";import"./form-item.js?v=1765440387";import"./index94.js?v=1765440387";import"./useController2.js?v=1765440387";const i={class:"relative bg-[#111] h-full p-1rem"},p=s({__name:"index",props:{compData:{default:()=>{}}},setup(s){const p=s,c=t();return o(()=>{a(()=>(()=>{var e;if(null==(e=c.value)?void 0:e.socketInfo){const e=c.value.socketInfo();e.send("\r\nclear\r"),e.send("cd ".concat(p.compData.row.path,"\r")),e.send("".concat(p.compData.cmd,"\r"))}})())}),(s,t)=>{const o=e;return r(),n("div",i,[l(o,{ref_key:"terminalRef",ref:c,class:"h-full","host-info":p.compData.hostInfo,url:"/pyenv_webssh",id:"pythonTerminal",active:""},null,8,["host-info"])])}}});export{p as default};
Save File
Cancel