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:
parent
efebb26b5e
commit
4c2302dc94
@ -887,6 +887,12 @@ const message = {
|
|||||||
belong: '歸屬地',
|
belong: '歸屬地',
|
||||||
local: '內網',
|
local: '內網',
|
||||||
remote: '外網',
|
remote: '外網',
|
||||||
|
config: '配置',
|
||||||
|
session: '會話',
|
||||||
|
loginTime: '登錄時間',
|
||||||
|
loginIP: '登錄IP',
|
||||||
|
disconnect: '斷開',
|
||||||
|
stopSSHWarn: '是否斷開此SSH連接',
|
||||||
},
|
},
|
||||||
setting: {
|
setting: {
|
||||||
all: '全部',
|
all: '全部',
|
||||||
|
@ -332,9 +332,9 @@ const onConnTerminal = async (title: string, wsID: number, isLocal?: boolean) =>
|
|||||||
for (const tab of terminalTabs.value) {
|
for (const tab of terminalTabs.value) {
|
||||||
if (tab.title.indexOf('@127.0.0.1:') !== -1 || tab.title === i18n.global.t('terminal.localhost')) {
|
if (tab.title.indexOf('@127.0.0.1:') !== -1 || tab.title === i18n.global.t('terminal.localhost')) {
|
||||||
onReconnect(tab);
|
onReconnect(tab);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
terminalTabs.value.push({
|
terminalTabs.value.push({
|
||||||
index: tabIndex,
|
index: tabIndex,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user