Update useSftpActions.ts

This commit is contained in:
Baobhan Sith
2025-05-03 10:27:24 +08:00
parent d95c7c3dda
commit d6b036c453
@@ -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;