From 0b7b512094a58b4571fe07b019fd7c42f9504989 Mon Sep 17 00:00:00 2001 From: Jokul Date: Sat, 11 Jul 2026 17:38:23 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E8=BF=9E=E6=8E=A5=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E5=BC=B9=E6=A1=86=E6=A0=B7=E5=BC=8F=E4=BB=A5=E5=8F=8A?= =?UTF-8?q?=E5=9B=BD=E9=99=85=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/NewConnectionDialog.vue | 53 ++++++++++++------- src/renderer/src/i18n/locales/de.ts | 2 + src/renderer/src/i18n/locales/en.ts | 2 + src/renderer/src/i18n/locales/ja.ts | 2 + src/renderer/src/i18n/locales/ko.ts | 2 + src/renderer/src/i18n/locales/zh-CN.ts | 2 + 6 files changed, 43 insertions(+), 20 deletions(-) diff --git a/src/renderer/src/components/NewConnectionDialog.vue b/src/renderer/src/components/NewConnectionDialog.vue index f1d9be0..8ae48ce 100644 --- a/src/renderer/src/components/NewConnectionDialog.vue +++ b/src/renderer/src/components/NewConnectionDialog.vue @@ -67,7 +67,7 @@ watch(() => props.visible, async (v) => { sentinelNodePassword: props.connection.sentinelNodePassword || '', cluster: props.connection.cluster || false, separator: props.connection.separator, - scanCount: props.connection.scanCount ?? 100, + scanCount: props.connection.scanCount ?? 2000, sshEnabled: props.connection.sshEnabled || false, sshHost: props.connection.sshHost || '', sshPort: props.connection.sshPort || 22, @@ -86,7 +86,7 @@ watch(() => props.visible, async (v) => { sentinelMasterName: '', sentinelNodePassword: '', cluster: false, separator: ':', - scanCount: 100, + scanCount: 2000, sshEnabled: false, sshHost: '', sshPort: 22, sshUsername: '', sshPassword: '', sshPrivateKeyPath: '', sshPassphrase: '', }) @@ -224,19 +224,20 @@ async function handleSave() {