From 4c2302dc943d39c0c73de1d4943265173e9afe83 Mon Sep 17 00:00:00 2001 From: ssongliu <73214554+ssongliu@users.noreply.github.com> Date: Mon, 17 Jul 2023 19:24:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=9B=BD=E9=99=85=E5=8C=96=E5=86=85?= =?UTF-8?q?=E5=AE=B9=E8=A1=A5=E5=85=A8=20(#1696)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/lang/modules/tw.ts | 6 ++++++ frontend/src/views/host/terminal/terminal/index.vue | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/frontend/src/lang/modules/tw.ts b/frontend/src/lang/modules/tw.ts index 39dce4e56..ad8f5fd4e 100644 --- a/frontend/src/lang/modules/tw.ts +++ b/frontend/src/lang/modules/tw.ts @@ -887,6 +887,12 @@ const message = { belong: '歸屬地', local: '內網', remote: '外網', + config: '配置', + session: '會話', + loginTime: '登錄時間', + loginIP: '登錄IP', + disconnect: '斷開', + stopSSHWarn: '是否斷開此SSH連接', }, setting: { all: '全部', diff --git a/frontend/src/views/host/terminal/terminal/index.vue b/frontend/src/views/host/terminal/terminal/index.vue index de6de6e7e..1abd683d2 100644 --- a/frontend/src/views/host/terminal/terminal/index.vue +++ b/frontend/src/views/host/terminal/terminal/index.vue @@ -332,9 +332,9 @@ const onConnTerminal = async (title: string, wsID: number, isLocal?: boolean) => for (const tab of terminalTabs.value) { if (tab.title.indexOf('@127.0.0.1:') !== -1 || tab.title === i18n.global.t('terminal.localhost')) { onReconnect(tab); - return; } } + return; } terminalTabs.value.push({ index: tabIndex,