From 22fe2a6d51b80f8755cf922b8c86f61f19b6a806 Mon Sep 17 00:00:00 2001 From: ssongliu <73214554+ssongliu@users.noreply.github.com> Date: Mon, 17 Jul 2023 16:36:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9C=AC=E5=9C=B0=E8=BF=9E=E6=8E=A5?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5=E6=97=B6=EF=BC=8C=E6=89=93=E5=BC=80=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E4=B8=BB=E6=9C=BA=E6=8A=BD=E5=B1=89=20(#1691)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/host/terminal/terminal/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/views/host/terminal/terminal/index.vue b/frontend/src/views/host/terminal/terminal/index.vue index 929001d3e..de6de6e7e 100644 --- a/frontend/src/views/host/terminal/terminal/index.vue +++ b/frontend/src/views/host/terminal/terminal/index.vue @@ -344,7 +344,7 @@ const onConnTerminal = async (title: string, wsID: number, isLocal?: boolean) => latency: 0, }); terminalValue.value = tabIndex; - if (!res.data && isLocal) { + if (!res.data && title === i18n.global.t('terminal.localhost')) { dialogRef.value!.acceptParams({ isLocal: true }); } nextTick(() => {