mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-10-15 09:56:08 +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,
|
||||
});
|
||||
terminalValue.value = tabIndex;
|
||||
if (!res.data && isLocal) {
|
||||
if (!res.data && title === i18n.global.t('terminal.localhost')) {
|
||||
dialogRef.value!.acceptParams({ isLocal: true });
|
||||
}
|
||||
nextTick(() => {
|
||||
|
|
Loading…
Add table
Reference in a new issue