diff --git a/frontend/app.html b/frontend/app.html index 7bd7339..e3f52d4 100644 --- a/frontend/app.html +++ b/frontend/app.html @@ -1005,7 +1005,7 @@ -
+

SFTP配置

请配置SFTP服务器 diff --git a/frontend/app.js b/frontend/app.js index 1921b52..d182048 100644 --- a/frontend/app.js +++ b/frontend/app.js @@ -1587,6 +1587,13 @@ handleDragLeave(e) { if (this.user && !this.user.is_admin) { this.loadFtpConfig(); } + // 等待DOM更新后滚动到SFTP配置区域 + this.$nextTick(() => { + const sftpSection = document.getElementById('sftp-config-section'); + if (sftpSection) { + sftpSection.scrollIntoView({ behavior: 'smooth', block: 'start' }); + } + }); } return; }