mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-02 19:00:15 +01:00
This commit is contained in:
parent
d3d0fbcdcb
commit
9fb3305b9b
1 changed files with 4 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue