diff --git a/frontend/app.js b/frontend/app.js index 0cd8ca5..129e67f 100644 --- a/frontend/app.js +++ b/frontend/app.js @@ -1581,7 +1581,7 @@ handleDragLeave(e) { if (type === 'sftp' && !this.user.has_ftp_config) { const goToSettings = confirm('您还未配置SFTP服务器。\n\n是否现在前往设置页面进行配置?配置完成后将自动切换到SFTP存储。'); if (goToSettings) { - this.currentView = 'settings'; + this.switchView('settings'); } return; }