From d6b036c453907d0df055eb5bdfec9a8c75ebf20f Mon Sep 17 00:00:00 2001 From: Baobhan Sith <80159437+Heavrnl@users.noreply.github.com> Date: Sat, 3 May 2025 10:27:24 +0800 Subject: [PATCH] Update useSftpActions.ts --- packages/frontend/src/composables/useSftpActions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/composables/useSftpActions.ts b/packages/frontend/src/composables/useSftpActions.ts index eaa0d36..1ff8915 100644 --- a/packages/frontend/src/composables/useSftpActions.ts +++ b/packages/frontend/src/composables/useSftpActions.ts @@ -560,7 +560,7 @@ export function createSftpActionsManager( console.error(`[SFTP ${instanceSessionId}] 加载目录 ${errorPath} 出错:`, errorPayload); // 日志改为中文 // error.value = errorPayload; // 使用通知 - uiNotificationsStore.showError(`${t('fileManager.errors.loadDirectoryFailed')}: ${errorPayload}`);, 添加 i18n key + uiNotificationsStore.showError(`${t('fileManager.errors.loadDirectoryFailed')}: ${errorPayload}`); // 重置加载状态,因为这是匹配的响应 isLoading.value = false;