Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art:

Vanessa5988c7675703
diff --git a/app/src/protyle/export/index.ts b/app/src/protyle/export/index.ts
index cadc7890da..71fe24372f 100644
--- a/app/src/protyle/export/index.ts
+++ b/app/src/protyle/export/index.ts
@@ -624,7 +624,7 @@ const getExportPath = (option: IExportOptions, removeAssets?: boolean, mergeSubd
hideMessage(msgId);
return;
}
- afterExport(path.join(savePath, replaceLocalPath(response.data.rootTitle)) + ".docx", msgId);
+ afterExport(exportResponse.data.path, msgId);
} else {
onExport(exportResponse, savePath, option, removeAssets, msgId);
}