mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-19 08:19:15 +08:00
fix: 本地连接失败时,打开添加主机抽屉 (#1691)
This commit is contained in:
parent
e17b80cff4
commit
22fe2a6d51
@ -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(() => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user