mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-12-09 20:05:54 +08:00
fix: 本地连接失败时,打开添加主机抽屉 (#1691)
This commit is contained in:
parent
e17b80cff4
commit
22fe2a6d51
1 changed files with 1 additions and 1 deletions
|
|
@ -344,7 +344,7 @@ const onConnTerminal = async (title: string, wsID: number, isLocal?: boolean) =>
|
||||||
latency: 0,
|
latency: 0,
|
||||||
});
|
});
|
||||||
terminalValue.value = tabIndex;
|
terminalValue.value = tabIndex;
|
||||||
if (!res.data && isLocal) {
|
if (!res.data && title === i18n.global.t('terminal.localhost')) {
|
||||||
dialogRef.value!.acceptParams({ isLocal: true });
|
dialogRef.value!.acceptParams({ isLocal: true });
|
||||||
}
|
}
|
||||||
nextTick(() => {
|
nextTick(() => {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue