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,