From b90227017cd4b9a1cb76a0e7fa9b38b621c764f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Fri, 28 Feb 2025 16:04:20 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20ssh=E8=BF=9E=E6=8E=A5=E6=88=90=E5=8A=9F?= =?UTF-8?q?=E5=90=8E=E5=8D=B3=E7=AB=8B=E5=8D=B3=E8=B0=83=E6=95=B4=E7=AA=97?= =?UTF-8?q?=E5=8F=A3=E5=A4=A7=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/views/ssh/IndexView.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/views/ssh/IndexView.vue b/web/src/views/ssh/IndexView.vue index baab886c..37924ab0 100644 --- a/web/src/views/ssh/IndexView.vue +++ b/web/src/views/ssh/IndexView.vue @@ -151,7 +151,7 @@ const openSession = async (id: number) => { }) term.value.open(terminal.value!) - fitAddon.fit() + onResize() term.value.focus() window.addEventListener('resize', onResize, false) current.value = id