Skip to content

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

:art: fix https://github.com/siyuan-note/siyuan/issues/9152

Vanessa9fb3305b9b4b
diff --git a/app/src/util/fetch.ts b/app/src/util/fetch.ts
index c5bf85f1f7..7fa54cdea3 100644
--- a/app/src/util/fetch.ts
+++ b/app/src/util/fetch.ts
@@ -18,6 +18,10 @@ export const fetchPost = (url: string, data?: any, cb?: (response: IWebSocketDat
data.reqId = window.siyuan.reqIds[url];
}
}
+ // 并发导出后端接受顺序不一致
+ if (url === "api/transactions") {
+ data.reqId = new Date().getTime();
+ }
if (data instanceof FormData) {
init.body = data;
} else {