1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-03-14 01:34:47 +08:00

fix: 国际化内容补全 (#1696)

This commit is contained in:
ssongliu 2023-07-17 19:24:24 +08:00 committed by GitHub
parent efebb26b5e
commit 4c2302dc94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -887,6 +887,12 @@ const message = {
belong: '歸屬地',
local: '內網',
remote: '外網',
config: '配置',
session: '會話',
loginTime: '登錄時間',
loginIP: '登錄IP',
disconnect: '斷開',
stopSSHWarn: '是否斷開此SSH連接',
},
setting: {
all: '全部',

View File

@ -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,